diff --git a/.github/workflows/end_to_end.yml b/.github/workflows/end_to_end.yml index 464d89e2..c00ba1b7 100644 --- a/.github/workflows/end_to_end.yml +++ b/.github/workflows/end_to_end.yml @@ -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 }} diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 49b0a821..4ee8b36a 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -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 }}