Skip to content

Commit a0d74c0

Browse files
authored
fix(ci): update all failing workflows (#863)
* fix(ci): update all failing workflows With `macos-latest` moving to `macos-14`, most workflows are currently failing. Update them to be able to run on `macos-latest` Don't test python 3.5 on ubuntu. It's been EOL for almost 4 years and there are now some certificate issues with pip. * review: remove test with python 3.5, 3.6 & 3.7 * add latest versions to e2e-tests.yml
1 parent 4eb7dbc commit a0d74c0

File tree

5 files changed

+79
-111
lines changed

5 files changed

+79
-111
lines changed

Diff for: .github/workflows/e2e-cache.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- releases/*
1111
paths-ignore:
1212
- '**.md'
13+
workflow_dispatch:
1314

1415
permissions:
1516
contents: read
@@ -21,7 +22,7 @@ jobs:
2122
fail-fast: false
2223
matrix:
2324
os: [ubuntu-latest, windows-latest, macos-latest]
24-
python-version: ['3.9', 'pypy-3.7-v7.x']
25+
python-version: ['3.9', 'pypy-3.9-v7.x']
2526
steps:
2627
- uses: actions/checkout@v4
2728
- name: Setup Python
@@ -75,7 +76,7 @@ jobs:
7576
fail-fast: false
7677
matrix:
7778
os: [ubuntu-latest, windows-latest, macos-latest]
78-
python-version: ['3.9', 'pypy-3.8']
79+
python-version: ['3.9', 'pypy-3.9']
7980
steps:
8081
- uses: actions/checkout@v4
8182
- name: Install poetry
@@ -91,13 +92,13 @@ jobs:
9192
run: poetry install
9293

9394
python-pip-dependencies-caching-path:
94-
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
95+
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path)
9596
runs-on: ${{ matrix.os }}
9697
strategy:
9798
fail-fast: false
9899
matrix:
99100
os: [ubuntu-latest, windows-latest, macos-latest]
100-
python-version: ['3.9', 'pypy-3.7-v7.x']
101+
python-version: ['3.9', 'pypy-3.9-v7.x']
101102
steps:
102103
- uses: actions/checkout@v4
103104
- name: Setup Python
@@ -110,7 +111,7 @@ jobs:
110111
run: pip install numpy pandas requests
111112

112113
python-pipenv-dependencies-caching-path:
113-
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }})
114+
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path)
114115
runs-on: ${{ matrix.os }}
115116
strategy:
116117
fail-fast: false

Diff for: .github/workflows/e2e-tests.yml

+25-31
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
pull_request:
1010
paths-ignore:
1111
- '**.md'
12+
workflow_dispatch:
1213

1314
jobs:
1415
test-setup-python:
@@ -21,54 +22,47 @@ jobs:
2122
- name: Checkout
2223
uses: actions/checkout@v4
2324

24-
- name: Run with setup-python 3.5
25-
uses: ./
26-
with:
27-
python-version: 3.5
28-
- name: Verify 3.5
29-
run: python __tests__/verify-python.py 3.5
30-
31-
- name: Run with setup-python 3.6
25+
- name: Run with setup-python 3.8
3226
uses: ./
3327
with:
34-
python-version: 3.6
35-
- name: Verify 3.6
36-
run: python __tests__/verify-python.py 3.6
28+
python-version: 3.8
29+
- name: Verify 3.8
30+
run: python __tests__/verify-python.py 3.8
3731

38-
- name: Run with setup-python 3.7
32+
- name: Run with setup-python 3.8.10
3933
uses: ./
4034
with:
41-
python-version: 3.7
42-
- name: Verify 3.7
43-
run: python __tests__/verify-python.py 3.7
35+
python-version: 3.8.10
36+
- name: Verify 3.8.10
37+
run: python __tests__/verify-python.py 3.8.10
4438

45-
- name: Run with setup-python 3.8
39+
- name: Run with setup-python 3.9.13
4640
uses: ./
4741
with:
48-
python-version: 3.8
49-
- name: Verify 3.8
50-
run: python __tests__/verify-python.py 3.8
42+
python-version: 3.9.13
43+
- name: Verify 3.9.13
44+
run: python __tests__/verify-python.py 3.9.13
5145

52-
- name: Run with setup-python 3.7.5
46+
- name: Run with setup-python 3.9.13
5347
uses: ./
5448
with:
55-
python-version: 3.7.5
56-
- name: Verify 3.7.5
57-
run: python __tests__/verify-python.py 3.7.5
49+
python-version: 3.10.11
50+
- name: Verify 3.10.11
51+
run: python __tests__/verify-python.py 3.10.11
5852

59-
- name: Run with setup-python 3.6.7
53+
- name: Run with setup-python 3.11.9
6054
uses: ./
6155
with:
62-
python-version: 3.6.7
63-
- name: Verify 3.6.7
64-
run: python __tests__/verify-python.py 3.6.7
56+
python-version: 3.11.9
57+
- name: Verify 3.11.9
58+
run: python __tests__/verify-python.py 3.11.9
6559

66-
- name: Run with setup-python 3.8.1
60+
- name: Run with setup-python 3.12.4
6761
uses: ./
6862
with:
69-
python-version: 3.8.1
70-
- name: Verify 3.8.1
71-
run: python __tests__/verify-python.py 3.8.1
63+
python-version: 3.12.4
64+
- name: Verify 3.12.4
65+
run: python __tests__/verify-python.py 3.12.4
7266

7367
- name: Run with setup-python 3.10
7468
id: cp310

Diff for: .github/workflows/test-graalpy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
pull_request:
1010
paths-ignore:
1111
- '**.md'
12+
workflow_dispatch:
1213

1314
jobs:
1415
setup-graalpy:

Diff for: .github/workflows/test-pypy.yml

+17-16
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- '**.md'
1212
schedule:
1313
- cron: 30 3 * * *
14+
workflow_dispatch:
1415

1516
jobs:
1617
setup-pypy:
@@ -22,16 +23,16 @@ jobs:
2223
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest]
2324
pypy:
2425
- 'pypy-2.7'
25-
- 'pypy-3.7'
26+
- 'pypy-3.10'
2627
- 'pypy3.9'
27-
- 'pypy-2.7-v7.3.4'
28-
- 'pypy-3.7-v7.3.5'
29-
- 'pypy-3.7-v7.3.4'
30-
- 'pypy-3.7-v7.3.x'
31-
- 'pypy-3.7-v7.x'
32-
- 'pypy-2.7-v7.3.4rc1'
33-
- 'pypy-3.8-nightly'
34-
- 'pypy3.8-v7.3.7'
28+
- 'pypy-2.7-v7.3.14'
29+
- 'pypy-3.10-v7.3.15'
30+
- 'pypy-3.10-v7.3.14'
31+
- 'pypy-3.10-v7.3.x'
32+
- 'pypy-3.10-v7.x'
33+
- 'pypy-2.7-v7.3.12rc1'
34+
- 'pypy-3.10-nightly'
35+
- 'pypy3.10-v7.3.15'
3536

3637
steps:
3738
- name: Checkout
@@ -74,7 +75,7 @@ jobs:
7475
fail-fast: false
7576
matrix:
7677
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest]
77-
pypy: ['pypy2.7', 'pypy3.7', 'pypy3.8', 'pypy3.9-nightly']
78+
pypy: ['pypy2.7', 'pypy3.9', 'pypy3.10-nightly']
7879

7980
steps:
8081
- name: Checkout
@@ -104,7 +105,7 @@ jobs:
104105
- name: Setup PyPy and check latest
105106
uses: ./
106107
with:
107-
python-version: 'pypy-3.7-v7.3.x'
108+
python-version: 'pypy-3.10-v7.3.x'
108109
check-latest: true
109110
- name: PyPy and Python version
110111
run: python --version
@@ -120,7 +121,7 @@ jobs:
120121

121122
- name: Assert expected binaries (or symlinks) are present
122123
run: |
123-
EXECUTABLE="pypy-3.7-v7.3.x"
124+
EXECUTABLE="pypy-3.10-v7.3.x"
124125
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
125126
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
126127
${EXECUTABLE} --version
@@ -138,8 +139,8 @@ jobs:
138139
uses: ./
139140
with:
140141
python-version: |
141-
pypy-3.7-v7.3.x
142-
pypy3.8
142+
pypy-3.10-v7.3.x
143+
pypy3.9
143144
check-latest: true
144145
- name: PyPy and Python version
145146
run: python --version
@@ -155,14 +156,14 @@ jobs:
155156

156157
- name: Assert expected binaries (or symlinks) are present
157158
run: |
158-
EXECUTABLE="pypy-3.7-v7.3.x"
159+
EXECUTABLE="pypy-3.10-v7.3.x"
159160
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
160161
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
161162
${EXECUTABLE} --version
162163
shell: bash
163164
- name: Assert expected binaries (or symlinks) are present
164165
run: |
165-
EXECUTABLE='pypy3.8'
166+
EXECUTABLE='pypy3.9'
166167
EXECUTABLE=${EXECUTABLE/pypy-/pypy} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
167168
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
168169
${EXECUTABLE} --version

0 commit comments

Comments
 (0)