Skip to content

Commit

Permalink
updated codecov CI action
Browse files Browse the repository at this point in the history
- use v4
- use CODECOV_TOKEN (added to GH)
- renamed step from CodeCov to codecov
- add verbose flag
  • Loading branch information
orbeckst committed Jul 18, 2024
1 parent 6dacd0f commit 52dd012
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,17 @@ jobs:
run: |
pytest -v --cov=membrane_curvature --cov-report=xml --color=yes membrane_curvature/tests/
- name: CodeCov
- name: codecov
if: ${{ github.repository == 'MDAnalysis/membrane-curvature'
&& github.event_name == 'pull_request' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
fail_ci_if_error: True
verbose: True

upstream_develop:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 52dd012

Please sign in to comment.