Skip to content

Commit 22c7cca

Browse files
committed
Add workspace and fail ci
1 parent fcbd293 commit 22c7cca

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/end_to_end.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ jobs:
3030
- name: Run end to end tests
3131
run: invoke end-to-end
3232

33-
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
33+
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
3434
name: Upload integration codecov report
3535
uses: codecov/codecov-action@v4
3636
with:
3737
flags: integration
38-
file: './integration_cov.xml'
38+
file: ${{ github.workspace }}/integration_cov.xml
39+
fail_ci_if_error: true
3940
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/unit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ jobs:
3030
- name: Run unit tests
3131
run: invoke unit
3232

33-
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
33+
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
3434
name: Upload unit codecov report
3535
uses: codecov/codecov-action@v4
3636
with:
3737
flags: unit
38-
file: './unit_cov.xml'
38+
file: ${{ github.workspace }}/unit_cov.xml
39+
fail_ci_if_error: true
3940
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)