From f8d342beac50ec4456a593cb981a3c7702d4f6b2 Mon Sep 17 00:00:00 2001 From: Daniel Kutik Date: Fri, 25 Nov 2022 09:24:35 +0100 Subject: [PATCH] tox: enable python 3.10 testing Note that in YAML, Python version 3.10 would be parsed as 3.1, hence I put all the Python versions in quotes. More on this: https://github.com/actions/setup-python/issues/160 Signed-off-by: Daniel Kutik Change-Id: Iba380a6a6a6de8486486c8981e712c7bf4dfe759 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353019 Reviewed-by: Mike Frysinger --- .github/workflows/test-ci.yml | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index 19881858..ff03eb22 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] runs-on: ${{ matrix.os }} steps: diff --git a/tox.ini b/tox.ini index aa4e2979..1d072f6f 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ # https://tox.readthedocs.io/ [tox] -envlist = py36, py37, py38, py39 +envlist = py36, py37, py38, py39, py310 [gh-actions] python = @@ -23,6 +23,7 @@ python = 3.7: py37 3.8: py38 3.9: py39 + 3.10: py310 [testenv] deps = pytest