Skip to content

Commit

Permalink
Update workflows to use workspace and fail if error
Browse files Browse the repository at this point in the history
  • Loading branch information
pvk-developer committed Nov 20, 2024
1 parent 0d1a9fa commit 3df5f9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
- name: Run integration tests
run: invoke integration

- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
name: Upload integration codecov report
uses: codecov/codecov-action@v4
with:
flags: integration
file: './integration_cov.xml'
file: ${{ github.workspace }}/integration_cov.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ jobs:
uses: codecov/codecov-action@v4
with:
flags: unit
file: './unit_cov.xml'
file: ${{ github.workspace }}/unit_cov.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 3df5f9e

Please sign in to comment.