File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments