Skip to content

Commit 8ee9a30

Browse files
committed
debug github actions
1 parent d034827 commit 8ee9a30

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/python-package.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,24 @@ jobs:
5252
if: matrix.os == 'ubuntu-latest'
5353
run: |
5454
coverage run -m unittest discover
55-
- name: Submit to coveralls
56-
run: |
57-
coveralls
58-
env:
59-
GITHUB_TOKEN: secrets.GITHUB_TOKEN
60-
COVERALLS_PARALLEL: true
61-
coveralls:
62-
runs-on: ubuntu-latest
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+
62+
finish:
6363
needs:
6464
- build
6565
if: success()
66-
container: python:3-slim
66+
runs-on: ubuntu-latest
6767
steps:
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
68+
- name: Coveralls Finished
69+
uses: coverallsapp/github-action@master
70+
with:
71+
github-token: ${{ secrets.github_token }}
72+
parallel-finished: true
7473
deploy:
7574
runs-on: ubuntu-latest
7675
needs:

0 commit comments

Comments
 (0)