diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index ccae74a..81a09a8 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -25,9 +25,13 @@ jobs: - name: Install dependencies run: poetry install -E test - name: Run tests with coverage report - run: poetry run pytest --cov-report=xml - + run: poetry run pytest --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 }}