FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythoncapi-compat/.github/workflows/build.yml at main · python/pythoncapi-compat · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
pythoncapi-compat
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
39
Star
109
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythoncapi-compat
/
.github
/
workflows
/
build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
137 lines (128 loc) · 3.94 KB
Breadcrumbs
pythoncapi-compat
/
.github
/
workflows
/
build.yml
Copy path
File metadata and controls
137 lines (128 loc) · 3.94 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
name
:
Build
on
:
push
:
branches
:
[main]
pull_request
:
branches
:
[main]
jobs
:
build
:
runs-on
:
${{ matrix.os }}
strategy
:
matrix
:
#
Available OS Images:
#
https://github.com/actions/runner-images/#available-images
#
#
Allow Python pre-releases:
#
https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#allow-pre-releases
#
See "allow-prereleases: true" below.
os
:
[ubuntu-latest]
python
:
#
Python versions (CPython):
#
https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
-
"
3.8
"
-
"
3.9
"
-
"
3.10
"
-
"
3.11
"
-
"
3.12
"
-
"
3.13
"
-
"
3.13t
"
-
"
3.14
"
-
"
3.14t
"
#
CPython 3.15 final is scheduled for October 2026:
#
https://peps.python.org/pep-0790/
-
"
3.15-dev
"
#
PyPy versions:
#
- https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md
#
- https://downloads.python.org/pypy/
#
- Only versions listed in this JSON are supported:
#
https://downloads.python.org/pypy/versions.json
-
"
pypy2.7
"
-
"
pypy3.6
"
-
"
pypy3.7
"
-
"
pypy3.8
"
-
"
pypy3.9
"
-
"
pypy3.10
"
-
"
pypy3.11
"
#
Old PyPy versions
#
See https://foss.heptapod.net/pypy/pypy/-/issues/3991
-
"
pypy2.7-v7.3.2
"
-
"
pypy3.6-v7.3.2
"
-
"
pypy3.7-v7.3.2
"
include
:
#
Windows
-
os
:
windows-latest
python
:
"
3.6
"
-
os
:
windows-latest
python
:
"
3.7
"
-
os
:
windows-latest
python
:
"
3.8
"
-
os
:
windows-latest
python
:
"
3.9
"
-
os
:
windows-latest
python
:
"
3.10
"
-
os
:
windows-latest
python
:
"
3.11
"
-
os
:
windows-latest
python
:
"
3.12
"
-
os
:
windows-latest
python
:
"
3.13
"
-
os
:
windows-latest
python
:
"
3.13t
"
-
os
:
windows-latest
python
:
"
3.14
"
-
os
:
windows-latest
python
:
"
3.14t
"
#
macOS
#
Python 3.9 is the oldest version available on macOS/arm64.
-
os
:
macos-latest
python
:
"
3.9
"
-
os
:
macos-latest
python
:
"
3.10
"
-
os
:
macos-latest
python
:
"
3.11
"
-
os
:
macos-latest
python
:
"
3.12
"
-
os
:
macos-latest
python
:
"
3.13
"
-
os
:
macos-latest
python
:
"
3.13t
"
-
os
:
macos-latest
python
:
"
3.14
"
-
os
:
macos-latest
python
:
"
3.14t
"
#
Ubuntu: test deadsnakes Python versions which are not supported by
#
GHA python-versions.
-
os
:
ubuntu-22.04
python
:
"
3.7
"
steps
:
#
https://github.com/actions/checkout
-
uses
:
actions/checkout@v4
-
name
:
Setup Python
#
https://github.com/actions/setup-python
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python }}
allow-prereleases
:
true
-
name
:
Install setuptools
run
:
python -m pip install setuptools
-
name
:
Display the Python version
run
:
python -VV
-
name
:
Run tests
run
:
python runtests.py --current --verbose
test_python27
:
#
Get Python 2.7 from Ubuntu 22.04.
#
#
Python 2.7 was removed from GHA setup-python in June 2023:
#
https://github.com/actions/setup-python/issues/672
name
:
'
Test Python 2.7
'
runs-on
:
ubuntu-22.04
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Install Python 2.7
run
:
|
sudo apt-get update
sudo apt-get -yq install python2.7 python2.7-dev
-
name
:
Display the Python version
run
:
python2.7 -VV
-
name
:
Run tests
run
:
python2.7 runtests.py --current --verbose
Back
|
FazBrowse Home
|
New Git URL