Skip to content

Commit

Permalink
code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jagerber48 committed Mar 13, 2024
1 parent 1857e87 commit a66fc3f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ jobs:
- name: Test source code and docs
run: |
pytest --cov . --cov-report xml
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# flags: ${{ matrix.python-version }}
# files: coverage.xml
# fail_ci_if_error: true
# verbose: true
#
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
# Only upload coverage once for python version latest - 1
if: ${{ (${{ matrix.python-version }} == "3.11") && (${{ matrix.os }} == "ubuntu-latest") }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: lmfit/uncertainties
results:
# This step aggregates the results from all the tests and allows us to
# require only this single job to pass for a PR to be merged rather than
Expand Down

0 comments on commit a66fc3f

Please sign in to comment.