From 0f1cde127b86960d8782d13fed5a8245ed713c2d Mon Sep 17 00:00:00 2001 From: Yann Lanthony Date: Tue, 28 Jan 2025 16:27:47 +0100 Subject: [PATCH] [ci] Codecov: enable support for test run reports --- .github/workflows/continuous-integration.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 961f3ecc..b63cbcef 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -53,11 +53,16 @@ jobs: - name: Test with pytest run: | pytest tests/ - pytest --cov --cov-report=xml + pytest --cov --cov-report=xml --junitxml=junit.xml - name: Upload results to Codecov uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} build-windows: runs-on: windows-latest