File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1- name : Package and Publish to PyPi
1+ name : Package and Publish
22
33on :
44 release :
@@ -36,16 +36,21 @@ jobs:
3636 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3737 flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3838
39- - name : Test with pytest
39+ - name : Run unit tests
40+ shell : bash -l {0}
4041 run : |
41- pytest --cov=chartlets
42-
42+ pytest --cov=chartlets --cov-report=xml
43+
4344 - name : Upload coverage reports to Codecov
44- uses : codecov/codecov-action@v3
45- env :
46- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
45+ uses : codecov/codecov-action@v4
46+ with :
47+ fail_ci_if_error : true
48+ directory : chartlets.py/
49+ flags : backend
50+ verbose : true
51+ token : ${{ secrets.CODECOV_TOKEN }}
4752
48- PyPi-deploy :
53+ PyPi-Deploy :
4954 name : Publish Python Package to PyPI
5055 runs-on : ubuntu-latest
5156 needs : python-tests
You can’t perform that action at this time.
0 commit comments