From af60cf3189ed7c93175a3c67faff9e46bf8a4d24 Mon Sep 17 00:00:00 2001 From: "Kristijan \"Fremen\" Velkovski" Date: Wed, 10 Sep 2025 01:13:31 -0500 Subject: [PATCH] add codecov test results --- .github/workflows/continuous_integration.yml | 5 +++++ tox.ini | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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]