Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 21951a4

Browse files
committed
ci: codeconv for github actions
1 parent 9576369 commit 21951a4

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

‎.github/workflows/pythonpackage.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,11 @@ jobs:
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

‎README.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

‎scripts/test‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ if [ -d 'venv' ] ; then
33
export PREFIX="venv/bin/"
44
fi
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/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /