Add quotes around versions

This commit is contained in:
Andrew Rogl 2021-10-06 07:35:05 +10:00 committed by GitHub
parent eafef0d521
commit 400aece2a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
env:
PY_COLORS: 1
@ -45,7 +45,7 @@ jobs:
sudo apt install ffmpeg # For replaygain
- name: Test older Python versions with tox
if: matrix.python-version != '3.9' && matrix.python-version != '3.10.0'
if: matrix.python-version != '3.9' && matrix.python-version != '3.10'
run: |
tox -e py-test
@ -55,7 +55,7 @@ jobs:
tox -vv -e py-cov
- name: Test nightly Python version with tox
if: matrix.python-version == '3.10.0'
if: matrix.python-version == '3.10'
# continue-on-error is not ideal since it doesn't give a visible
# warning, but there doesn't seem to be anything better:
# https://github.com/actions/toolkit/issues/399