diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index cdf542fb..f9e2d0c3 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -65,6 +65,8 @@ jobs: # Use a container since Azure Pipelines may not have the bleeding-edge Python RC - job: FlaskOnLatest pool: { vmImage: ubuntu-latest } + variables: + TOXENV: 'future' container: python:rc-stretch steps: - script: | @@ -73,6 +75,5 @@ jobs: displayName: 'Install tox' # don't fail the build if this doesn't work! - - script: | - tox --ignore-outcome=true + - script: tox displayName: 'Run tox' diff --git a/tox.ini b/tox.ini index 16e97648..b6a74950 100644 --- a/tox.ini +++ b/tox.ini @@ -37,6 +37,15 @@ commands = # pytest-cov doesn't seem to play nice with -p 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] deps = -r docs/requirements.txt @@ -51,7 +60,7 @@ commands = coverage html [testenv:codecov] -passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* +passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* BUILD_* SYSTEM_* AGENT_* TF_BUILD deps = codecov skip_install = true commands =