Skip to content

Commit 4c201f3

Browse files
committed
Pin OS and Python versions in test-pr.yml
CI was broken because `ubuntu-latest` changed from Ubuntu 22.04 to 24.04, and the latter doesn't have Python 3.7. I pinned to using Ubuntu 22.04 so we can continue using Python 3.7. In addition, I pinned to the specific Python 3.7 patch release to limit possible breakage.
1 parent 75bd6a0 commit 4c201f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ concurrency:
2323

2424
jobs:
2525
test:
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-22.04 # Needed for Python 3.7
2727
name: Run tests
2828
env:
29-
PYTHON_VERSION: "3.7"
29+
PYTHON_VERSION: 3.7.17
3030
defaults:
3131
run:
3232
shell: bash -leo pipefail {0}

0 commit comments

Comments
 (0)