Skip to content

Commit 9794747

Browse files
committed
add codecov to github actions
1 parent 71282a6 commit 9794747

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/tabulate.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
build:
99
strategy:
1010
matrix:
11+
# Python 3.9 is not supported anymore, but it still works...
1112
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1213
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
1314
runs-on: ${{ matrix.os }}
@@ -25,4 +26,8 @@ jobs:
2526
python -m pip install pytest numpy pandas "wcwidth>=0.6.0"
2627
- name: Run tests
2728
run: |
28-
pytest -v --doctest-modules --ignore benchmark
29+
pytest -v --doctest-modules --ignore benchmark --cov=tabulate --cov-branch --cov-report=xml
30+
- name: Upload coverage reports to Codecov
31+
uses: codecov/codecov-action@v5
32+
with:
33+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)