Skip to content

Commit

Permalink
Add workspace and fail ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pvk-developer committed Nov 18, 2024
1 parent fcbd293 commit 22c7cca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
- name: Run end to end tests
run: invoke end-to-end

- 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 }}
5 changes: 3 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
- name: Run unit tests
run: invoke unit

- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
name: Upload unit codecov report
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 22c7cca

Please sign in to comment.