From 69d11e8f6bc8905f1004448e0ad4c48a8fab6e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Wi=C5=9Bniewski?= Date: Mon, 11 Nov 2024 22:14:20 +0100 Subject: [PATCH] Fix codecov coverage push --- .github/workflows/test.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 335bd6d0..4d69d7b5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -59,7 +59,7 @@ jobs: run: poetry run coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4.6.0 with: token: ${{ secrets.CODECOV_TOKEN }} flags: "all/${{ matrix.os }}/${{ matrix.python-version}}" @@ -155,7 +155,7 @@ jobs: run: poetry run coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4.6.0 with: token: ${{ secrets.CODECOV_TOKEN }} flags: "e2e/${{ matrix.os }}/${{ matrix.python-version}}" @@ -232,6 +232,14 @@ jobs: - name: Run tests without extras run: poetry run poe test-no-extras + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4.6.0 + with: + token: ${{ secrets.CODECOV_TOKEN }} + flags: "no-extras/${{ matrix.os }}/${{ matrix.python-version}}" + files: ./coverage.xml + verbose: true + docs: strategy: fail-fast: false