Skip to content

Commit 180fa43

Browse files
committed
coveralls
1 parent 801e592 commit 180fa43

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,20 @@ jobs:
2727
python -m pip install -e .[all]
2828
2929
- name: Run tests
30-
run: pytest -ra --cov=tika
30+
run: pytest -ra --cov
3131

32-
- name: Upload coverage to Coveralls
33-
if: success()
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
run: |
37-
coveralls
32+
- name: Coveralls parallel
33+
uses: coverallsapp/github-action@v2
34+
with:
35+
flag-name: run-${{ matrix.python-version }}
36+
parallel: true
37+
38+
finish:
39+
needs: test
40+
if: ${{ always() }}
41+
runs-on: ubuntu-slim
42+
steps:
43+
- name: Coveralls finished
44+
uses: coverallsapp/github-action@v2
45+
with:
46+
parallel-finished: true

0 commit comments

Comments
 (0)