diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index dda33272..745dc409 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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 }} diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 553ca4f7..1cbd1113 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 }}