Skip to content

Commit 57b31f0

Browse files
committed
ci: add Python 3.11 and 3.12 matrix to smoke workflow tests
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
1 parent e8eb284 commit 57b31f0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/smoke.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ jobs:
101101
needs:
102102
- start-large-ec2-runner
103103
runs-on: ${{needs.start-large-ec2-runner.outputs.label}}
104+
strategy:
105+
matrix:
106+
python-version: [ '3.11', '3.12' ]
104107
# It is important that this job has no write permissions and has
105108
# no access to any secrets. This part is where we are running
106109
# untrusted code from PRs.
@@ -114,7 +117,7 @@ jobs:
114117
- name: "Install packages"
115118
run: |
116119
cat /etc/os-release
117-
sudo dnf install -y gcc gcc-c++ make git-core python3.11 python3.11-devel
120+
sudo dnf install -y gcc gcc-c++ make git-core python${{ matrix.python-version }} python${{ matrix.python-version }}-devel
118121
119122
- name: "Verify cuda environment is setup"
120123
run: |
@@ -133,7 +136,7 @@ jobs:
133136
# only has to install Tox because Tox will do the other virtual environment management.
134137
- name: "Setup Python virtual environment"
135138
run: |
136-
python3.11 -m venv --upgrade-deps venv
139+
python${{ matrix.python-version }} -m venv --upgrade-deps venv
137140
. venv/bin/activate
138141
pip install tox
139142

0 commit comments

Comments
 (0)