Skip to content

Commit

Permalink
Use strings for Python versions in CI config
Browse files Browse the repository at this point in the history
Python 3.10 was being interpreted as Python 3.1, so put all version
numbers in single quotes so they don't get truncated.
  • Loading branch information
aag committed May 29, 2023
1 parent d03fa83 commit 69f4c83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 2.7, 3.7, 3.8, 3.9, 3.10, 3.11 ]
python-version: [ '2.7', '3.7', '3.8', '3.9', '3.10', '3.11' ]
include:
- python-version: 3.7
- python-version: '3.7'
disable: '--disable=consider-using-f-string'
- python-version: 3.8
- python-version: '3.8'
disable: '--disable=consider-using-f-string,redundant-u-string-prefix'
- python-version: 3.9
- python-version: '3.9'
disable: '--disable=consider-using-f-string,redundant-u-string-prefix'
- python-version: 3.10
- python-version: '3.10'
disable: '--disable=consider-using-f-string,redundant-u-string-prefix'
- python-version: 3.11
- python-version: '3.11'
disable: '--disable=consider-using-f-string,redundant-u-string-prefix'
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 69f4c83

Please sign in to comment.