Skip to content

Commit

Permalink
actions: add publish to coveralls
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
  • Loading branch information
hthiery committed Jan 5, 2023
1 parent 9402d12 commit aa1c1b6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,22 @@ jobs:
run: python setup.py install

- name: Test
run: pytest --cov=pyfritzhome
run: pytest --cov=pyfritzhome --cov-report=lcov

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
parallel: true
path-to-lcov: coverage.lcov

finish:
needs: tests
runs-on: ubuntu-22.04
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

0 comments on commit aa1c1b6

Please sign in to comment.