Fix CI after Autorest split
This commit is contained in:
Родитель
a07cfb274e
Коммит
45cbf08b81
|
@ -19,7 +19,7 @@ matrix:
|
|||
before_install:
|
||||
- docker pull lmazuel/autorest-test-server
|
||||
- docker run -p 3000:3000 lmazuel/autorest-test-server &
|
||||
- git clone https://github.com/Azure/autorest.git
|
||||
- git clone https://github.com/Azure/autorest.python.git
|
||||
install:
|
||||
- pip install tox
|
||||
script:
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -12,7 +12,7 @@ deps=
|
|||
autorest: requests>=2.11.0
|
||||
commands=
|
||||
pytest --cov=msrest tests/
|
||||
autorest: coverage run -a -m unittest discover -s "autorest/src/generator/AutoRest.Python.Tests/AcceptanceTests" -p "*" -v
|
||||
autorest: coverage run -a -m unittest discover -s "autorest.python/test/vanilla/AcceptanceTests" -p "*" -v
|
||||
coverage report --fail-under=40 --omit=test*,*.tox*.py,*/AcceptanceTests/*
|
||||
coverage xml --omit=test*,*.tox*.py
|
||||
#flake8 .. --exclude=test*.py,doc,env --statistics
|
||||
|
|
Загрузка…
Ссылка в новой задаче