Skip to content

Commit 69d22b7

Browse files
committed
Use deadsnakes on ubuntu in CI test step
1 parent 5cc2157 commit 69d22b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,13 @@ jobs:
106106
- uses: actions/checkout@v4
107107
with:
108108
fetch-depth: 0
109+
- name: Set up Python ${{ matrix.python-version }} (deadsnakes)
110+
if: startsWith(matrix.os, 'ubuntu')
111+
uses: deadsnakes/[email protected] # staticx doesn't work with python installed by setup-python action
112+
with:
113+
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
109114
- name: Set up Python ${{ matrix.python-version }}
115+
if: !startsWith(matrix.os, 'ubuntu')
110116
uses: actions/setup-python@v5
111117
with:
112118
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)