Skip to content

Commit 517b2bc

Browse files
committed
[ci] Updated coveralls on github actions
1 parent ffe5ccd commit 517b2bc

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,17 @@ jobs:
4747
run: coverage run -a --source=netjsonconfig runtests.py
4848

4949
- name: Upload Coverage
50-
run: coveralls --service=github
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
COVERALLS_FLAG_NAME: |
54-
python-${{ matrix.env.env }}
55-
COVERALLS_PARALLEL: true
50+
uses: coverallsapp/github-action@v2
51+
with:
52+
parallel: true
53+
flag-name: python-${{ matrix.env.env }}
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
5655

5756
coveralls:
58-
name: Finish Coveralls
5957
needs: build
6058
runs-on: ubuntu-latest
61-
container: python:3-slim
6259
steps:
63-
- name: Finished
64-
run: |
65-
pip3 install --upgrade coveralls
66-
coveralls --finish
67-
env:
68-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
- name: Coveralls Finished
61+
uses: coverallsapp/github-action@v2
62+
with:
63+
parallel-finished: true

0 commit comments

Comments
 (0)