зеркало из https://github.com/mozilla/bugbug.git
Collect coverage for setup.py too
This commit is contained in:
Родитель
36f9a7c8d9
Коммит
75dce849c1
|
@ -114,15 +114,18 @@ tasks:
|
||||||
payload:
|
payload:
|
||||||
maxRunTime: 3600
|
maxRunTime: 3600
|
||||||
image: python
|
image: python
|
||||||
|
env:
|
||||||
|
CODECOV_TOKEN: 66162f89-a4d9-420c-84bd-d10f12a428d9
|
||||||
command:
|
command:
|
||||||
- "/bin/bash"
|
- "/bin/bash"
|
||||||
- "-lcx"
|
- "-lcx"
|
||||||
- "git clone --quiet ${repository} &&
|
- "git clone --quiet ${repository} &&
|
||||||
cd bugbug &&
|
cd bugbug &&
|
||||||
git -c advice.detachedHead=false checkout ${head_rev} &&
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
||||||
pip install --quiet -r requirements.txt &&
|
pip install --quiet -r test-requirements.txt &&
|
||||||
python setup.py sdist &&
|
python -m coverage run setup.py sdist &&
|
||||||
pip install dist/bugbug-$(cat VERSION).tar.gz"
|
pip install dist/bugbug-$(cat VERSION).tar.gz &&
|
||||||
|
bash <(curl -s https://codecov.io/bash)"
|
||||||
metadata:
|
metadata:
|
||||||
name: bugbug packaging test
|
name: bugbug packaging test
|
||||||
description: bugbug packaging test
|
description: bugbug packaging test
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
pytest==4.6.2
|
pytest==4.6.2
|
||||||
pytest-cov==2.7.1
|
pytest-cov==2.7.1
|
||||||
|
coverage==4.5.3
|
||||||
pre-commit==1.17.0
|
pre-commit==1.17.0
|
||||||
responses==0.10.6
|
responses==0.10.6
|
||||||
|
|
Загрузка…
Ссылка в новой задаче