зеркало из https://github.com/mozilla/bugbug.git
Enable coverage collection during tests (#571)
* Enable coverage collection during tests * Use codecov.io bash uploader to upload coverage report
This commit is contained in:
Родитель
1ab26c67d1
Коммит
a63c8a12ca
|
@ -81,6 +81,8 @@ tasks:
|
|||
payload:
|
||||
maxRunTime: 3600
|
||||
image: python
|
||||
env:
|
||||
CODECOV_TOKEN: 66162f89-a4d9-420c-84bd-d10f12a428d9
|
||||
command:
|
||||
- "/bin/bash"
|
||||
- "-lcx"
|
||||
|
@ -96,7 +98,8 @@ tasks:
|
|||
pip install --quiet -r extra-nlp-requirements.txt &&
|
||||
pip install --quiet -r extra-nn-requirements.txt &&
|
||||
pip install --quiet -r test-requirements.txt &&
|
||||
python -m pytest tests/test_*.py"
|
||||
python -m pytest --cov=./ tests/test_*.py &&
|
||||
bash <(curl -s https://codecov.io/bash)"
|
||||
metadata:
|
||||
name: bugbug tests
|
||||
description: bugbug tests
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
pytest==4.6.2
|
||||
pytest-cov==2.7.1
|
||||
pre-commit==1.17.0
|
||||
responses==0.10.6
|
||||
|
|
Загрузка…
Ссылка в новой задаче