Skip to content

Commit

Permalink
Add 3.13.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jul 31, 2024
1 parent 4c34b03 commit af0b28f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
env:
PYTHON_CMD: "python${{ matrix.python-version }}"

strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev']

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -40,6 +38,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Define PYTHON_CMD
run: |
PYTHON_VER="`echo ${{ matrix.python-version }} | sed 's|-dev$||'`"
echo "PYTHON_CMD=python${PYTHON_VER}" >> $GITHUB_ENV
- name: Install dependencies
run: |
${PYTHON_CMD} -m pip install --upgrade pip
Expand Down

0 comments on commit af0b28f

Please sign in to comment.