You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# in this example, there is a newer version already installed, 3.7.7, so the older version will be downloaded
88
-
python-version: [3.5, 3.6, 3.7.4, 3.8]
88
+
python-version: ['3.5', '3.6', '3.7.4', '3.8']
89
89
steps:
90
90
- uses: actions/checkout@v2
91
91
- uses: actions/setup-python@v2
@@ -114,7 +114,7 @@ steps:
114
114
- run: python my_script.py
115
115
```
116
116
117
-
Download and set up PyPy:
117
+
Download and set up PyPy:
118
118
119
119
```yaml
120
120
jobs:
@@ -123,9 +123,9 @@ jobs:
123
123
strategy:
124
124
matrix:
125
125
python-version:
126
-
- pypy-3.6 # the latest available version of PyPy that supports Python 3.6
127
-
- pypy-3.7 # the latest available version of PyPy that supports Python 3.7
128
-
- pypy-3.7-v7.3.3 # Python 3.7 and PyPy 7.3.3
126
+
- 'pypy-3.6'# the latest available version of PyPy that supports Python 3.6
127
+
- 'pypy-3.7'# the latest available version of PyPy that supports Python 3.7
128
+
- 'pypy-3.7-v7.3.3'# Python 3.7 and PyPy 7.3.3
129
129
steps:
130
130
- uses: actions/checkout@v2
131
131
- uses: actions/setup-python@v2
@@ -151,11 +151,11 @@ Check out our detailed guide on using [Python with GitHub Actions](https://help.
151
151
- Downloadable Python versions from GitHub Releases ([actions/python-versions](https://github.com/actions/python-versions/releases)).
152
152
- All available versions are listed in the [version-manifest.json](https://github.com/actions/python-versions/blob/main/versions-manifest.json) file.
153
153
- If there is a specific version of Python that is not available, you can open an issue here
154
-
154
+
155
155
# Available versions of PyPy
156
-
156
+
157
157
`setup-python` is able to configure PyPy from two sources:
158
-
158
+
159
159
- Preinstalled versions of PyPy in the tools cache on GitHub-hosted runners
160
160
- For detailed information regarding the available versions of PyPy that are installed see [Supported software](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-software).
161
161
- For the latest PyPy release, all versions of Python are cached.
@@ -190,9 +190,9 @@ You should specify only a major and minor version if you are okay with the most
190
190
- There will be a single patch version already installed on each runner for every minor version of Python that is supported.
191
191
- The patch version that will be preinstalled, will generally be the latest and every time there is a new patch released, the older version that is preinstalled will be replaced.
192
192
- Using the most recent patch version will result in a very quick setup since no downloads will be required since a locally installed version Python on the runner will be used.
193
-
193
+
194
194
# Specifying a PyPy version
195
-
The version of PyPy should be specified in the format `pypy-<python_version>[-v<pypy_version>]`.
195
+
The version of PyPy should be specified in the format `pypy-<python_version>[-v<pypy_version>]`.
196
196
The `<pypy_version>` parameter is optional and can be skipped. The latest version will be used in this case.
0 commit comments