From 873f07e6516a11370053f3d8ac0809a9980ab142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesc=20Mart=C3=AD=20Escofet?= <154450563+FrancescMartiEscofetQC@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:42:01 +0200 Subject: [PATCH] Delete traces from migration to pixi (#27) * Delete traces before pixi * Add os condition on codecov --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 705d5e4..4a9dabc 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 }}