Skip to content

Commit 2e94e39

Browse files
committed
Use quotes for python version for github workflows
Fix GitHub workflow failures by using quotes for python versions. It seems that adding `3.10` as a number is transformed then to `3.1` which as a result is translated to Python version 3.1 instead of Python version 3.10. This seems to work for other projects as well: https://github.com/MasoniteFramework/masonite4/blob/master/.github/workflows/pythontest.yml https://github.com/python-pillow/Pillow/blob/main/.github/workflows/test-windows.yml https://github.com/PyGithub/PyGithub/blob/master/.github/workflows/ci.yml Signed-off-by: Martin Vrachev <[email protected]>
1 parent 6ff852a commit 2e94e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# Run regular TUF tests on each OS/Python combination, plus special tests
1616
# (sslib master) and linters on Linux/Python3.x only.
1717
matrix:
18-
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
18+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1919
os: [ubuntu-latest, macos-latest, windows-latest]
2020
toxenv: [py]
2121
include:

0 commit comments

Comments
 (0)