Skip to content

Commit 249b779

Browse files
committed
debug git actions
1 parent 01a57f6 commit 249b779

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/python-package.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,26 @@ jobs:
5151
- name: test with unittest and collect coverage data
5252
if: matrix.os == 'ubuntu-latest'
5353
run: |
54-
make test-coverage
55-
- name: Coveralls Parallel
56-
uses: coverallsapp/github-action@master
57-
with:
58-
github-token: ${{ secrets.github_token }}
59-
flag-name: run-${{ matrix.test_number }}
60-
parallel: true
61-
54+
coverage run -m unittest discover
55+
- name: Submit to coveralls
56+
run: |
57+
coveralls --service=github
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
COVERALLS_PARALLEL: true
6261
coveralls:
62+
runs-on: ubuntu-latest
6363
needs:
6464
- build
6565
if: success()
66-
runs-on: ubuntu-latest
66+
container: python:3-slim
6767
steps:
68-
- name: Coveralls Finished
69-
uses: coverallsapp/github-action@master
70-
with:
71-
github-token: ${{ secrets.github_token }}
72-
parallel-finished: true
68+
- name: Indicate completion to coveralls.io
69+
run: |
70+
pip install --upgrade coveralls
71+
coveralls --finish
72+
env:
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7374
deploy:
7475
runs-on: ubuntu-latest
7576
needs:

0 commit comments

Comments
 (0)