Skip to content

Commit

Permalink
fixup! feat: add Python 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrendalath committed Apr 17, 2024
1 parent e9862ed commit 4237ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: extract-python
run: |
if [[ "${{ matrix.toxenv }}" =~ py[0-9]+ ]]; then
PYTHON_VERSION=$(echo "${{ matrix.toxenv }}" | grep -o 'py[0-9]\+' | sed 's/py/3./')
PYTHON_VERSION=$(echo "${{ matrix.toxenv }}" | sed -E 's/py([0-9])([0-9]+).*/\1.\2/')
else
# Default version
PYTHON_VERSION=3.8
Expand Down

0 comments on commit 4237ed8

Please sign in to comment.