mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 20:59:41 +00:00
Add codecov
This commit is contained in:
parent
8813fb766a
commit
792761e801
1 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ steps:
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
environment:
|
environment:
|
||||||
COUCH_URL: 'http://couchdb:5984'
|
COUCH_URL: 'http://couchdb:5984'
|
||||||
|
CODECOV_TOKEN:
|
||||||
|
from_secret: CODECOV_TOKEN
|
||||||
commands:
|
commands:
|
||||||
# Install pre-requisites
|
# Install pre-requisites
|
||||||
- pip install coverage pytest
|
- pip install coverage pytest
|
||||||
|
|
@ -22,3 +24,6 @@ steps:
|
||||||
# Run tests
|
# Run tests
|
||||||
- coverage run -m pytest
|
- coverage run -m pytest
|
||||||
- coverage report -m
|
- coverage report -m
|
||||||
|
# Upload coverage report
|
||||||
|
- pip install codecov
|
||||||
|
- codecov
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue