Collect coverage for setup.py too

This commit is contained in:
Marco Castelluccio 2019-06-08 20:50:59 +02:00
Родитель 36f9a7c8d9
Коммит 75dce849c1
2 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -114,15 +114,18 @@ tasks:
payload:
maxRunTime: 3600
image: python
env:
CODECOV_TOKEN: 66162f89-a4d9-420c-84bd-d10f12a428d9
command:
- "/bin/bash"
- "-lcx"
- "git clone --quiet ${repository} &&
cd bugbug &&
git -c advice.detachedHead=false checkout ${head_rev} &&
pip install --quiet -r requirements.txt &&
python setup.py sdist &&
pip install dist/bugbug-$(cat VERSION).tar.gz"
pip install --quiet -r test-requirements.txt &&
python -m coverage run setup.py sdist &&
pip install dist/bugbug-$(cat VERSION).tar.gz &&
bash <(curl -s https://codecov.io/bash)"
metadata:
name: bugbug packaging test
description: bugbug packaging test

Просмотреть файл

@ -1,4 +1,5 @@
pytest==4.6.2
pytest-cov==2.7.1
coverage==4.5.3
pre-commit==1.17.0
responses==0.10.6