Skip to content

Commit 7ccbe66

Browse files
krisfremenjadchaar
andauthored
add codecov test results (#1223)
Co-authored-by: Jad Chaar <jadchaar@users.noreply.github.com>
1 parent 05cd9b4 commit 7ccbe66

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ jobs:
5050
uses: codecov/codecov-action@v5
5151
with:
5252
file: coverage.xml
53+
- name: Upload test results to Codecov
54+
if: ${{ !cancelled() }}
55+
uses: codecov/test-results-action@v1
56+
with:
57+
token: ${{ secrets.CODECOV_TOKEN }}
5358

5459
linting:
5560
name: Linting

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ allowlist_externals = flit
4545
commands = flit publish --setup-py
4646

4747
[pytest]
48-
addopts = -v --cov-branch --cov=arrow --cov-fail-under=99 --cov-report=term-missing --cov-report=xml
48+
addopts = -v --cov-branch --cov=arrow --cov-fail-under=99 --cov-report=term-missing --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
4949
testpaths = tests
5050

5151
[isort]

0 commit comments

Comments
 (0)