Skip to content

Commit

Permalink
github actions: Use pytest-cov plug-in with lcov report.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjlongland committed May 4, 2024
1 parent 5b67131 commit b224398
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ jobs:
- name: Test with py.test (with coverage)
if: ${{ !inputs.skip-coverage }}
run: |
coverage run -m pytest
coverage-lcov
python -m pytest --cov=aioax25 --cov-report=term-missing --cov-report=lcov
- name: Test with py.test (without lcov coverage)
if: ${{ inputs.skip-coverage }}
run: |
Expand All @@ -78,4 +77,4 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info
path-to-lcov: ./coverage.lcov

0 comments on commit b224398

Please sign in to comment.