File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments