-
Notifications
You must be signed in to change notification settings - Fork 6
44 lines (40 loc) · 1.03 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Test
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
runs-on: ubuntu-latest
env:
USING_COVERAGE: '3.8'
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: "${{ matrix.python-version }}"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
make install-test
- name: Run test
if: contains('refs/heads/master refs/heads/development', github.ref)
run: |
make test
- name: Run test-light
if: contains('refs/heads/master refs/heads/development', github.ref) != 1
run: |
make test-light
- name: Test coveralls - python ${{ matrix.python-version }}
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.python-version }}
parallel: true