From 7a727723c052f5a4bfd3db47aeb565b2fab00daf Mon Sep 17 00:00:00 2001 From: ddevin96 Date: Thu, 5 Feb 2026 14:56:40 +0100 Subject: [PATCH] fix: action syntax --- .github/workflows/chore.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/chore.yaml b/.github/workflows/chore.yaml index ba51209..6b907ae 100644 --- a/.github/workflows/chore.yaml +++ b/.github/workflows/chore.yaml @@ -26,16 +26,22 @@ jobs: uv venv uv pip install -e . - - name: Test with pytest + - name: Run tests with coverage run: | - uv run pytest --cov --junitxml=junit.xml + uv run pytest --cov --cov-branch --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + + - name: Test with pytest + run: | + uv run pytest --cov --junitxml=junit.xml + - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + report_type: test_results + files: junit.xml