diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 705d5e4e..4a9dabc8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,17 +41,12 @@ jobs: uses: prefix-dev/setup-pixi@v0.8.1 with: environments: ${{ matrix.env }} - - name: Install repository + - name: Install repository and generate code coverage report run: | pixi run -e ${{ matrix.env }} postinstall pixi run -e ${{ matrix.env }} coverage - - name: Generate code coverage report - if: matrix.python-version == '3.12' - uses: codecov/codecov-action@v3.1.3 - with: - file: ./coverage.xml - name: Upload coverage reports to Codecov - if: matrix.env == 'py312' + if: matrix.env == 'py312' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v3.1.3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}