summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-06-16 11:29:30 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-06-17 14:10:24 -0400
commit25baddfd652f5f8421cbac9d251a4d33d178c18e (patch)
tree4fe15d66e0163bc1544ae2f596080a64e0dfa36d /.github
parentedd4cb0f5cfb8160f9788a5df9399b2d67a00676 (diff)
downloadcmd2-git-25baddfd652f5f8421cbac9d251a4d33d178c18e.tar.gz
Setting the version in nox to just '3.10' appears to allow 3.10.0b2 to run for me
github CI appears to require full beta version number which is incompatably with how nox wants the version passed in. Changed CI to run test targets without specifying version and relying on nox to auto-skip unsupported versions Added Python 3.10 to azure pipelines.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 11f68e10..3a964092 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-beta.2]
+ python-version: [3.6, 3.7, 3.8, 3.9, "3.10.0-beta.2"]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
@@ -27,4 +27,4 @@ jobs:
- name: Run tests and post coverage results
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: python -m nox --non-interactive --session tests-${{ matrix.python-version }} # Run nox for a single version of Python
+ run: python -m nox --non-interactive --session tests # Run nox for a single version of Python