Skip to content

Commit

Permalink
Fix coverage workflow and remove workflow dependency on coveragepy-lc…
Browse files Browse the repository at this point in the history
…ov (#597)

* Attempt to fix coverage workflow

* Make coveralls filename end in lcov
  • Loading branch information
garrison committed May 22, 2024
1 parent 90d2505 commit 5fa3abc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox coveragepy-lcov 'coverage<7'
pip install tox coverage
- name: Run coverage
run: |
tox -e coverage
- name: Convert to lcov
run: coveragepy-lcov --output_file_path coveralls.info
run: coverage3 lcov -o coveralls.lcov
- name: Upload report to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: coveralls.info
file: coveralls.lcov
format: lcov

0 comments on commit 5fa3abc

Please sign in to comment.