Skip to content

Commit 4106716

Browse files
committed
fixup! Add Github Actions workflow for running tests
Signed-off-by: Nabarun Pal <[email protected]>
1 parent e754316 commit 4106716

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- django-2.2
99

1010
jobs:
11-
build:
11+
test:
1212
strategy:
1313
matrix:
1414
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
@@ -50,11 +50,17 @@ jobs:
5050
run: celery -A junction worker -l info --detach
5151
- name: Run tests
5252
run: nox -s test-${{ matrix.python-version }}
53-
finish:
53+
- name: Register test run on Coveralls
54+
uses: coverallsapp/github-action@master
55+
with:
56+
github-token: ${{ secrets.github_token }}
57+
flag-name: run-${{ matrix.test_number }}
58+
parallel: true
59+
coverage:
5460
needs: build
5561
runs-on: ubuntu-16.04
5662
steps:
57-
- name: Send coverage report to coveralls and PR as a comment
63+
- name: Send coverage report to coveralls
5864
uses: coverallsapp/github-action@master
5965
with:
6066
github-token: ${{ secrets.github_token }}

0 commit comments

Comments
 (0)