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