Skip to content

Commit 0b93645

Browse files
authoredOct 24, 2024
Enhance workflows: Add macOS 13 support, upgrade publish-action, and update documentation for arm64 and latest versions (actions#965)
* update ci workflows with latest versions and added macos-13 * updated document with latest versions
1 parent 9c76e71 commit 0b93645

9 files changed

+169
-143
lines changed
 

‎.github/workflows/e2e-cache.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os: [ubuntu-latest, windows-latest, macos-latest]
25-
python-version: ['3.9', 'pypy-3.9-v7.x']
24+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
25+
python-version: ['3.9', 'pypy-3.9-v7.x', '3.10', 'pypy-3.10-v7.x']
2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Setup Python
@@ -39,8 +39,8 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
os: [ubuntu-latest, windows-latest, macos-latest]
43-
python-version: ['3.9', 'pypy-3.9-v7.x']
42+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
43+
python-version: ['3.9', 'pypy-3.9-v7.x', '3.10', 'pypy-3.10-v7.x']
4444
steps:
4545
- uses: actions/checkout@v4
4646
- name: Setup Python
@@ -75,8 +75,8 @@ jobs:
7575
strategy:
7676
fail-fast: false
7777
matrix:
78-
os: [ubuntu-latest, windows-latest, macos-latest]
79-
python-version: ['3.9', 'pypy-3.9']
78+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
79+
python-version: ['3.9', 'pypy-3.9-v7.x', '3.10', 'pypy-3.10-v7.x']
8080
steps:
8181
- uses: actions/checkout@v4
8282
- name: Install poetry
@@ -97,8 +97,8 @@ jobs:
9797
strategy:
9898
fail-fast: false
9999
matrix:
100-
os: [ubuntu-latest, windows-latest, macos-latest]
101-
python-version: ['3.9', 'pypy-3.9-v7.x']
100+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
101+
python-version: ['3.9', 'pypy-3.9-v7.x', '3.10', 'pypy-3.10-v7.x']
102102
steps:
103103
- uses: actions/checkout@v4
104104
- name: Setup Python
@@ -116,8 +116,8 @@ jobs:
116116
strategy:
117117
fail-fast: false
118118
matrix:
119-
os: [ubuntu-latest, windows-latest, macos-latest]
120-
python-version: ['3.9', 'pypy-3.9-v7.x']
119+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
120+
python-version: ['3.9', 'pypy-3.9-v7.x', '3.10', 'pypy-3.10-v7.x']
121121
steps:
122122
- uses: actions/checkout@v4
123123
- name: Setup Python

‎.github/workflows/e2e-tests.yml

+53-33
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,42 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15-
test-setup-python:
16-
name: Test setup-python
15+
test-setup-python-older:
16+
name: Test setup-python old versions
1717
runs-on: ${{ matrix.operating-system }}
1818
strategy:
1919
matrix:
20-
operating-system: [ubuntu-20.04, windows-latest]
20+
operating-system:
21+
[ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest, macos-13]
22+
python: [3.8.10, 3.8.18]
23+
exclude:
24+
- operating-system: ubuntu-22.04
25+
python: '3.8.10'
26+
- operating-system: macos-latest
27+
python: '3.8.18'
28+
- operating-system: windows-latest
29+
python: '3.8.18'
2130
steps:
2231
- name: Checkout
2332
uses: actions/checkout@v4
2433

25-
- name: Run with setup-python 3.8
26-
uses: ./
27-
with:
28-
python-version: 3.8
29-
- name: Verify 3.8
30-
run: python __tests__/verify-python.py 3.8
31-
32-
- name: Run with setup-python 3.8.10
34+
- name: Run with setup-python ${{ matrix.python }}
35+
id: setup-python
3336
uses: ./
3437
with:
35-
python-version: 3.8.10
36-
- name: Verify 3.8.10
37-
run: python __tests__/verify-python.py 3.8.10
38+
python-version: ${{ matrix.python }}
39+
- name: Verify ${{ matrix.python }}
40+
run: python __tests__/verify-python.py ${{ matrix.python }}
41+
test-setup-python:
42+
name: Test setup-python
43+
runs-on: ${{ matrix.operating-system }}
44+
strategy:
45+
matrix:
46+
operating-system:
47+
[ubuntu-20.04, windows-latest, ubuntu-22.04, macos-latest, macos-13]
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@v4
3851

3952
- name: Run with setup-python 3.9.13
4053
uses: ./
@@ -57,36 +70,43 @@ jobs:
5770
- name: Verify 3.11.9
5871
run: python __tests__/verify-python.py 3.11.9
5972

60-
- name: Run with setup-python 3.12.4
73+
- name: Run with setup-python 3.12.7
74+
uses: ./
75+
with:
76+
python-version: 3.12.7
77+
- name: Verify 3.12.7
78+
run: python __tests__/verify-python.py 3.12.7
79+
80+
- name: Run with setup-python 3.13.0
6181
uses: ./
6282
with:
63-
python-version: 3.12.4
64-
- name: Verify 3.12.4
65-
run: python __tests__/verify-python.py 3.12.4
83+
python-version: 3.13.0
84+
- name: Verify 3.13.0
85+
run: python __tests__/verify-python.py 3.13.0
6686

67-
- name: Run with setup-python 3.10
68-
id: cp310
87+
- name: Run with setup-python 3.13
88+
id: cp313
6989
uses: ./
7090
with:
71-
python-version: '3.10'
72-
- name: Verify 3.10
73-
run: python __tests__/verify-python.py 3.10
74-
- name: Run python-path sample 3.10
75-
run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version
91+
python-version: '3.13'
92+
- name: Verify 3.13
93+
run: python __tests__/verify-python.py 3.13
94+
- name: Run python-path sample 3.13
95+
run: pipx run --python '${{ steps.cp313.outputs.python-path }}' nox --version
7696

77-
- name: Run with setup-python ==3.8
97+
- name: Run with setup-python ==3.13
7898
uses: ./
7999
with:
80-
python-version: '==3.8'
81-
- name: Verify ==3.8
82-
run: python __tests__/verify-python.py 3.8
100+
python-version: '==3.13'
101+
- name: Verify ==3.13
102+
run: python __tests__/verify-python.py 3.13
83103

84-
- name: Run with setup-python <3.11
104+
- name: Run with setup-python <3.13
85105
uses: ./
86106
with:
87-
python-version: '<3.11'
88-
- name: Verify <3.11
89-
run: python __tests__/verify-python.py 3.10
107+
python-version: '<3.13'
108+
- name: Verify <3.13
109+
run: python __tests__/verify-python.py 3.12
90110
- name: Test Raw Endpoint Access
91111
run: |
92112
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty

‎.github/workflows/release-new-action-version.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Update the ${{ env.TAG_NAME }} tag
25-
uses: actions/publish-action@v0.2.2
25+
uses: actions/publish-action@v0.3.0
2626
with:
2727
source-tag: ${{ env.TAG_NAME }}
2828
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

‎.github/workflows/test-graalpy.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
os: [macos-latest, ubuntu-20.04, ubuntu-latest]
21+
os: [macos-latest, ubuntu-20.04, ubuntu-latest, macos-13]
2222
graalpy:
23-
- 'graalpy-23.0'
2423
- 'graalpy-22.3'
24+
- 'graalpy-23.0'
25+
- 'graalpy-23.1'
26+
- 'graalpy-24.1'
2527

2628
steps:
2729
- name: Checkout
@@ -63,8 +65,8 @@ jobs:
6365
strategy:
6466
fail-fast: false
6567
matrix:
66-
os: [macos-latest, ubuntu-20.04, ubuntu-latest]
67-
graalpy: ['graalpy23.0', 'graalpy22.3']
68+
os: [macos-latest, ubuntu-20.04, ubuntu-latest, macos-13]
69+
graalpy: ['graalpy22.3', 'graalpy23.0', 'graalpy23.1', 'graalpy24.1']
6870

6971
steps:
7072
- name: Checkout
@@ -88,14 +90,14 @@ jobs:
8890
strategy:
8991
fail-fast: false
9092
matrix:
91-
os: [ubuntu-latest, macos-latest]
93+
os: [ubuntu-latest, macos-latest, macos-13]
9294
steps:
9395
- uses: actions/checkout@v4
9496
- name: Setup GraalPy and check latest
9597
uses: ./
9698
id: graalpy
9799
with:
98-
python-version: 'graalpy-23.x'
100+
python-version: 'graalpy-24.x'
99101
check-latest: true
100102
- name: GraalPy and Python version
101103
run: python --version

‎.github/workflows/test-pypy.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,20 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest]
23+
os:
24+
[macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest, macos-13]
2425
pypy:
2526
- 'pypy-2.7'
2627
- 'pypy-3.10'
2728
- 'pypy3.9'
28-
- 'pypy-2.7-v7.3.14'
29-
- 'pypy-3.10-v7.3.15'
30-
- 'pypy-3.10-v7.3.14'
29+
- 'pypy-2.7-v7.3.17'
30+
- 'pypy-3.10-v7.3.17'
31+
- 'pypy-3.10-v7.3.16'
3132
- 'pypy-3.10-v7.3.x'
3233
- 'pypy-3.10-v7.x'
3334
- 'pypy-2.7-v7.3.12rc1'
3435
- 'pypy-3.10-nightly'
35-
- 'pypy3.10-v7.3.15'
36+
- 'pypy3.10-v7.3.17'
3637

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

8082
steps:
@@ -99,7 +101,7 @@ jobs:
99101
strategy:
100102
fail-fast: false
101103
matrix:
102-
os: [ubuntu-latest, windows-latest, macos-latest]
104+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
103105
steps:
104106
- uses: actions/checkout@v4
105107
- name: Setup PyPy and check latest
@@ -132,7 +134,7 @@ jobs:
132134
strategy:
133135
fail-fast: false
134136
matrix:
135-
os: [ubuntu-latest, windows-latest, macos-latest]
137+
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
136138
steps:
137139
- uses: actions/checkout@v4
138140
- name: Setup PyPy and check latest

0 commit comments

Comments
 (0)
Please sign in to comment.