File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,15 @@ jobs:
4141 python -m pip install --upgrade pip
4242 pip install --upgrade -r requirements-dev.txt
4343 pip install .
44- - name : Unit tests
44+ - name : Test with pytest
4545 run : |
46- coverage run -m pytest
47- coverage xml
46+ pytest --cov --junitxml=junit.xml
4847 - name : Upload coverage to Codecov
4948 uses : codecov/codecov-action@v4
5049 with :
51- fail_ci_if_error : true # optional (default = false)
52- name : codecov-umbrella # optional
53- token : ${{ secrets.CODECOV_TOKEN }} # required
54- verbose : true # optional (default = false)
50+ token : ${{ secrets.CODECOV_TOKEN }}
51+ - name : Upload test results to Codecov
52+ if : ${{ !cancelled() }}
53+ uses : codecov/test-results-action@v1
54+ with :
55+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1111venv
1212.vscode
1313tests /* .ipynb
14+ junit.xml
Original file line number Diff line number Diff line change 22-r requirements.in
33xmltodict >= 0.12.0
44pytest
5+ pytest-cov
56coverage
67py
78flake8
You can’t perform that action at this time.
0 commit comments