This commit is contained in:
parent
957227b715
commit
32f104df7c
2
.coveragerc
Normal file
2
.coveragerc
Normal file
@ -0,0 +1,2 @@
|
||||
[run]
|
||||
omit=venv/*
|
@ -35,6 +35,15 @@ steps:
|
||||
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
|
||||
- pytest test.py
|
||||
|
||||
- name: coverage
|
||||
image: python:3.8
|
||||
environment:
|
||||
PRODUCER_REDIS: cache
|
||||
commands:
|
||||
- pip3 install --cache-dir='./.pipcache' coverage
|
||||
- coverage run -m pytest test.py
|
||||
- coverage report -m
|
||||
|
||||
- name: integration_test
|
||||
image: python:3.8
|
||||
environment:
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -131,3 +131,4 @@ dmypy.json
|
||||
#Pycharm
|
||||
.idea/
|
||||
*.iml
|
||||
.coverage
|
Reference in New Issue
Block a user