Skip to content

Commit

Permalink
Update to gitactions
Browse files Browse the repository at this point in the history
This commit is to allow the PR to pass the codcov tests

Signed-off-by: tonyxrmdavidson <tonyxrmdavidson@yahoo.co.uk>
  • Loading branch information
tonyxrmdavidson committed Jun 27, 2024
1 parent a137d73 commit 4a171be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ jobs:
- name: Unit tests
run: make test-cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.0.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4.5.0
with:
files: coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
5 changes: 2 additions & 3 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@ jobs:
nox --python=${{ matrix.python }}
fi
- name: Upload coverage report
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@v4.5.0
if: always() && matrix.session == 'tests'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: coverage.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload documentation
if: matrix.session == 'docs-build'
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 4a171be

Please sign in to comment.