Skip to content

Commit 40bbdac

Browse files
authored
GitHub Actions: Add Python 3.12, 3.13, 3.14, and 3.14t to the testing (#3076)
* GitHub Actions: Add Python 3.12 and 3.13 to the testing * fail-fast: false * Re-add the EOL Python 3.8 * Add Python 3.14 release candidate 3 * Add free threaded Python 3.14t to workflow matrix * macos-13 --> macos-15-intel Updated macOS version references in the workflow to reflect changes in the GitHub Actions environment.
1 parent 3c5b66d commit 40bbdac

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.github/workflows/push.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout python-for-android
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
- name: Set up Python 3.x
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: 3.x
2727
- name: Run flake8
@@ -35,16 +35,18 @@ jobs:
3535
needs: flake8
3636
runs-on: ${{ matrix.os }}
3737
strategy:
38+
fail-fast: false
3839
matrix:
39-
python-version: ['3.8', '3.9', '3.10', '3.11']
40-
os: [ubuntu-latest, macOs-latest]
40+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
41+
os: [ubuntu-latest, macos-latest]
4142
steps:
4243
- name: Checkout python-for-android
43-
uses: actions/checkout@v4
44+
uses: actions/checkout@v5
4445
- name: Set up Python ${{ matrix.python-version }}
45-
uses: actions/setup-python@v5
46+
uses: actions/setup-python@v6
4647
with:
4748
python-version: ${{ matrix.python-version }}
49+
allow-prereleases: true
4850
- name: Tox tests
4951
run: |
5052
python -m pip install --upgrade pip
@@ -114,9 +116,9 @@ jobs:
114116
continue-on-error: true
115117
strategy:
116118
matrix:
117-
# macos-latest (ATM macos-14) runs on Apple Silicon,
118-
# macos-13 runs on Intel
119-
runs_on: ['macos-latest', 'macos-13']
119+
# macos-latest (ATM macos-15) runs on Apple Silicon,
120+
# macos-15-intel runs on Intel
121+
runs_on: ['macos-latest', 'macos-15-intel']
120122
bootstrap:
121123
- name: sdl2
122124
target: testapps-with-numpy
@@ -129,14 +131,14 @@ jobs:
129131
ANDROID_NDK_HOME: ${HOME}/.android/android-ndk
130132
steps:
131133
- name: Checkout python-for-android
132-
uses: actions/checkout@v4
134+
uses: actions/checkout@v5
133135
- name: Set up Python 3.x
134-
uses: actions/setup-python@v5
136+
uses: actions/setup-python@v6
135137
with:
136138
python-version: 3.x
137139
- name: Install python-for-android
138140
run: |
139-
python3 -m pip install -e .
141+
python3 -m pip install --editable .
140142
- name: Install prerequisites via pythonforandroid/prerequisites.py (Experimental)
141143
run: |
142144
python3 pythonforandroid/prerequisites.py
@@ -174,7 +176,7 @@ jobs:
174176
REBUILD_UPDATED_RECIPES_EXTRA_ARGS: --arch=${{ matrix.android_arch }}
175177
steps:
176178
- name: Checkout python-for-android (all-history)
177-
uses: actions/checkout@v4
179+
uses: actions/checkout@v5
178180
with:
179181
fetch-depth: 0
180182
# helps with GitHub runner getting out of space
@@ -201,9 +203,9 @@ jobs:
201203
strategy:
202204
matrix:
203205
android_arch: ["arm64-v8a", "armeabi-v7a", "x86_64", "x86"]
204-
# macos-latest (ATM macos-14) runs on Apple Silicon,
205-
# macos-13 runs on Intel
206-
runs_on: ['macos-latest', 'macos-13']
206+
# macos-latest (ATM macos-15) runs on Apple Silicon,
207+
# macos-15-intel runs on Intel
208+
runs_on: ['macos-latest', 'macos-15-intel']
207209
env:
208210
ANDROID_HOME: ${HOME}/.android
209211
ANDROID_SDK_ROOT: ${HOME}/.android/android-sdk
@@ -212,16 +214,16 @@ jobs:
212214
REBUILD_UPDATED_RECIPES_EXTRA_ARGS: --arch=${{ matrix.android_arch }}
213215
steps:
214216
- name: Checkout python-for-android (all-history)
215-
uses: actions/checkout@v4
217+
uses: actions/checkout@v5
216218
with:
217219
fetch-depth: 0
218220
- name: Set up Python 3.x
219-
uses: actions/setup-python@v5
221+
uses: actions/setup-python@v6
220222
with:
221223
python-version: 3.x
222224
- name: Install python-for-android
223225
run: |
224-
python3 -m pip install -e .
226+
python3 -m pip install --editable .
225227
- name: Install prerequisites via pythonforandroid/prerequisites.py (Experimental)
226228
run: |
227229
python3 pythonforandroid/prerequisites.py
@@ -244,7 +246,7 @@ jobs:
244246
documentation:
245247
runs-on: ubuntu-latest
246248
steps:
247-
- uses: actions/checkout@v4
249+
- uses: actions/checkout@v5
248250
- name: Requirements
249251
run: |
250252
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)