Skip to content

Commit 54a9688

Browse files
committed
Add Python version matrix with deadsnakes PPA
1 parent 6ecbbf5 commit 54a9688

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,19 @@ jobs:
5555
strategy:
5656
fail-fast: false
5757
matrix:
58-
python-version: ["3.12"]
58+
python-version: ["3.10", "3.11", "3.12", "3.13"]
5959
steps:
6060
- name: Checkout repository
6161
uses: actions/checkout@v6
6262

63-
- name: Install Python
63+
- name: Install Python ${{ matrix.python-version }}
6464
run: |
6565
apt-get update
66-
apt-get install -y python${{ matrix.python-version }} python${{ matrix.python-version }}-venv python3-pip
66+
apt-get install -y software-properties-common
67+
add-apt-repository -y ppa:deadsnakes/ppa
68+
apt-get update
69+
apt-get install -y python${{ matrix.python-version }} python${{ matrix.python-version }}-venv python${{ matrix.python-version }}-dev
70+
python${{ matrix.python-version }} -m ensurepip --upgrade
6771
python${{ matrix.python-version }} -m pip install --upgrade pip build wheel setuptools
6872
6973
- name: Build wheel

0 commit comments

Comments
 (0)