Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@ jobs:
- name: Run tests
run: |
./scripts/test
- name: Upload coverage to Codecov
if: runner.os == 'Linux'
uses: codecov/codecov-action@v1.0.3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Commitizen
Python 3 command line utility to standardize commit messages and bump version


.. image:: https://img.shields.io/travis/Woile/commitizen.svg?style=flat-square
:alt: Travis
:target: https://travis-ci.org/Woile/commitizen
.. image:: https://github.com/Woile/commitizen/workflows/Python%20package/badge.svg
:alt: Github Actions
:target: https://github.com/Woile/commitizen/actions

.. image:: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square
:alt: Conventional Commits
Expand Down
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ if [ -d 'venv' ] ; then
export PREFIX="venv/bin/"
fi

${PREFIX}pytest --cov-report term-missing --cov=commitizen tests/
${PREFIX}pytest --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen tests/
${PREFIX}black commitizen tests --check
${PREFIX}flake8 --max-line-length=88 commitizen/ tests/