make a "future" toxenv
This commit is contained in:
parent
8535503f4a
commit
41186d3fe2
2 changed files with 13 additions and 3 deletions
|
|
@ -65,6 +65,8 @@ jobs:
|
||||||
# Use a container since Azure Pipelines may not have the bleeding-edge Python RC
|
# Use a container since Azure Pipelines may not have the bleeding-edge Python RC
|
||||||
- job: FlaskOnLatest
|
- job: FlaskOnLatest
|
||||||
pool: { vmImage: ubuntu-latest }
|
pool: { vmImage: ubuntu-latest }
|
||||||
|
variables:
|
||||||
|
TOXENV: 'future'
|
||||||
container: python:rc-stretch
|
container: python:rc-stretch
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
|
|
@ -73,6 +75,5 @@ jobs:
|
||||||
displayName: 'Install tox'
|
displayName: 'Install tox'
|
||||||
|
|
||||||
# don't fail the build if this doesn't work!
|
# don't fail the build if this doesn't work!
|
||||||
- script: |
|
- script: tox
|
||||||
tox --ignore-outcome=true
|
|
||||||
displayName: 'Run tox'
|
displayName: 'Run tox'
|
||||||
|
|
|
||||||
11
tox.ini
11
tox.ini
|
|
@ -37,6 +37,15 @@ commands =
|
||||||
# pytest-cov doesn't seem to play nice with -p
|
# pytest-cov doesn't seem to play nice with -p
|
||||||
coverage run -p -m pytest --junitxml=test-results.xml tests examples
|
coverage run -p -m pytest --junitxml=test-results.xml tests examples
|
||||||
|
|
||||||
|
[testenv:future]
|
||||||
|
ignore_outcome = true
|
||||||
|
|
||||||
|
commands =
|
||||||
|
pip install -q -e examples/tutorial[test]
|
||||||
|
pip install -q -e examples/javascript[test]
|
||||||
|
|
||||||
|
coverage run -p -m pytest tests examples
|
||||||
|
|
||||||
[testenv:docs-html]
|
[testenv:docs-html]
|
||||||
deps =
|
deps =
|
||||||
-r docs/requirements.txt
|
-r docs/requirements.txt
|
||||||
|
|
@ -51,7 +60,7 @@ commands =
|
||||||
coverage html
|
coverage html
|
||||||
|
|
||||||
[testenv:codecov]
|
[testenv:codecov]
|
||||||
passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_*
|
passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* BUILD_* SYSTEM_* AGENT_* TF_BUILD
|
||||||
deps = codecov
|
deps = codecov
|
||||||
skip_install = true
|
skip_install = true
|
||||||
commands =
|
commands =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue