File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 25
25
- name : Run tests
26
26
run : |
27
27
./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
5
5
Python 3 command line utility to standardize commit messages and bump version
6
6
7
7
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
11
11
12
12
.. image :: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square
13
13
:alt: Conventional Commits
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ if [ -d 'venv' ] ; then
3
3
export PREFIX="venv/bin/"
4
4
fi
5
5
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/
7
7
${PREFIX}black commitizen tests --check
8
8
${PREFIX}flake8 --max-line-length=88 commitizen/ tests/
You can’t perform that action at this time.
0 commit comments