diff options
author | Eric Lin <anselor@gmail.com> | 2020-07-07 13:59:43 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-07-08 14:51:31 -0400 |
commit | ff64eff8854c9b52a1f48e4b843e9a738d2b388d (patch) | |
tree | 734419988bbb26a31ecc1caa9e18b0a6686cc6f3 /azure-pipelines.yml | |
parent | bc50e370c6113ada43acbfaf94d211f3917a7870 (diff) | |
download | cmd2-git-ff64eff8854c9b52a1f48e4b843e9a738d2b388d.tar.gz |
Swap out tox for nox
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 49f7daf3..5f58bc0d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,16 +16,16 @@ jobs: matrix: Python35: python.version: '3.5' - TOXENV: 'py35' + NOXSESSION: 'tests-3.5' Python36: python.version: '3.6' - TOXENV: 'py36' + NOXSESSION: 'tests-3.6' Python37: python.version: '3.7' - TOXENV: 'py37' + NOXSESSION: 'tests-3.7' Python38: python.version: '3.8' - TOXENV: 'py38' + NOXSESSION: 'tests-3.8' # Increase the maxParallel value to simultaneously run the job for all versions in the matrix (max 10 for free open-source) maxParallel: 4 @@ -38,7 +38,7 @@ jobs: # Install dependencies - install specific PyPI packages with pip, including cmd2 dependencies - script: | - python -m pip install --upgrade pip && pip3 install --upgrade setuptools tox + python -m pip install --upgrade pip && pip3 install --upgrade setuptools nox displayName: 'Upgrade pip and setuptools' continueOnError: false @@ -46,7 +46,7 @@ jobs: # Test - test with pytest, collect coverage metrics with pytest-cov, and publish these metrics to codecov.io - script: | - tox -e $(TOXENV) + nox --non-interactive --session $(NOXSESSION) displayName: 'Run tests and code coverage' continueOnError: false |