Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update codecov-action to v4. #140

Merged
merged 9 commits into from
Mar 27, 2024
5 changes: 3 additions & 2 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install tox
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
python -m pip install --upgrade tox coverage
- name: Test
run: tox -ve tests
- uses: actions/upload-artifact@v4
Expand All @@ -67,13 +67,14 @@ jobs:
.results_*/**
.coverage*
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage_tests.xml
name: codecov-${{ matrix.os_name }}
fail_ci_if_error: true
verbose: true
# Check that all jobs passed
check-tests-passed:
if: ${{ !cancelled() }}
Expand Down
Loading