diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index e060685c..e0776f95 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -50,6 +50,11 @@ jobs: uses: codecov/codecov-action@v5 with: file: coverage.xml + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} linting: name: Linting diff --git a/tox.ini b/tox.ini index 51c2c6a6..3400453f 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,7 @@ allowlist_externals = flit commands = flit publish --setup-py [pytest] -addopts = -v --cov-branch --cov=arrow --cov-fail-under=99 --cov-report=term-missing --cov-report=xml +addopts = -v --cov-branch --cov=arrow --cov-fail-under=99 --cov-report=term-missing --cov-report=xml --junitxml=junit.xml -o junit_family=legacy testpaths = tests [isort]