Skip to content

Commit

Permalink
ci: Update codecov-action to v4. (tektronix#140)
Browse files Browse the repository at this point in the history
* ci: Update codecov-action to v4.
  • Loading branch information
nfelt14 authored Mar 27, 2024
1 parent 2dd4876 commit 008e2b2
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 008e2b2

Please sign in to comment.