File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Run tests
2626 run : |
2727 ./scripts/test
28+ - name : Upload coverage to Codecov
29+ if : runner.os == 'Linux'
30+ uses : codecov/codecov-action@v1.0.3
31+ with :
32+ token : ${{secrets.CODECOV_TOKEN}}
33+ file : ./coverage.xml
34+ flags : unittests
35+ name : codecov-umbrella
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ Commitizen
55 Python 3 command line utility to standardize commit messages and bump version
66
77
8- .. image :: https://img.shields.io/travis/ Woile/commitizen.svg?style=flat-square
9- :alt: Travis
10- :target: https://travis-ci.org /Woile/commitizen
8+ .. image :: https://github.com/ Woile/commitizen/workflows/Python%20package/badge .svg
9+ :alt: Github Actions
10+ :target: https://github.com /Woile/commitizen/actions
1111
1212.. image :: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square
1313 :alt: Conventional Commits
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ if [ -d 'venv' ] ; then
33 export PREFIX="venv/bin/"
44fi
55
6- ${PREFIX}pytest --cov-report term-missing --cov=commitizen tests/
6+ ${PREFIX}pytest --cov-report term-missing --cov-report=xml:coverage.xml --cov =commitizen tests/
77${PREFIX}black commitizen tests --check
88${PREFIX}flake8 --max-line-length=88 commitizen/ tests/
You can’t perform that action at this time.
0 commit comments