diff options
author | Daniel Kutik <daniel.kutik@lavawerk.com> | 2022-11-25 09:24:35 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2022-11-25 12:16:43 +0000 |
commit | f8d342beac50ec4456a593cb981a3c7702d4f6b2 (patch) | |
tree | b9642f946c24f04cbfa5fab16721767eb9ce28e1 | |
parent | 6d2e8c823715e60c8c58bd00de662092ac959594 (diff) | |
download | git-repo-f8d342beac50ec4456a593cb981a3c7702d4f6b2.tar.gz |
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 <daniel.kutik@lavawerk.com>
Change-Id: Iba380a6a6a6de8486486c8981e712c7bf4dfe759
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353019
Reviewed-by: Mike Frysinger <vapier@google.com>
-rw-r--r-- | .github/workflows/test-ci.yml | 2 | ||||
-rw-r--r-- | 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: | |||
14 | fail-fast: false | 14 | fail-fast: false |
15 | matrix: | 15 | matrix: |
16 | os: [ubuntu-latest, macos-latest, windows-latest] | 16 | os: [ubuntu-latest, macos-latest, windows-latest] |
17 | python-version: [3.6, 3.7, 3.8, 3.9] | 17 | python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] |
18 | runs-on: ${{ matrix.os }} | 18 | runs-on: ${{ matrix.os }} |
19 | 19 | ||
20 | steps: | 20 | steps: |
@@ -15,7 +15,7 @@ | |||
15 | # https://tox.readthedocs.io/ | 15 | # https://tox.readthedocs.io/ |
16 | 16 | ||
17 | [tox] | 17 | [tox] |
18 | envlist = py36, py37, py38, py39 | 18 | envlist = py36, py37, py38, py39, py310 |
19 | 19 | ||
20 | [gh-actions] | 20 | [gh-actions] |
21 | python = | 21 | python = |
@@ -23,6 +23,7 @@ python = | |||
23 | 3.7: py37 | 23 | 3.7: py37 |
24 | 3.8: py38 | 24 | 3.8: py38 |
25 | 3.9: py39 | 25 | 3.9: py39 |
26 | 3.10: py310 | ||
26 | 27 | ||
27 | [testenv] | 28 | [testenv] |
28 | deps = pytest | 29 | deps = pytest |