Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
2b8b730d
Commit
2b8b730d
authored
Jul 19, 2020
by
Sviatoslav Sydorenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Python 3.9 beta from deadsnakes
parent
f976af5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
8 deletions
+24
-8
.github/workflows/python-tests.yml
.github/workflows/python-tests.yml
+24
-8
No files found.
.github/workflows/python-tests.yml
View file @
2b8b730d
...
...
@@ -34,6 +34,9 @@ jobs:
# Pre-release versions (GH-shipped)
-
os
:
ubuntu-20.04
python-version
:
3.9.0-beta.4 - 3.9.0
# Pre-release versions (deadsnakes)
-
os
:
ubuntu-20.04
python-version
:
3.9-beta
# Dev versions (deadsnakes)
-
os
:
ubuntu-20.04
python-version
:
3.9-dev
...
...
@@ -42,21 +45,34 @@ jobs:
env
:
NETWORK_REQUIRED
:
1
PYTHON_VERSION
:
${{ matrix.python-version }}
TOX_PARALLEL_NO_SPINNER
:
1
TOXENV
:
python
USE_DEADSNAKES
:
false
steps
:
-
uses
:
actions/checkout@master
-
name
:
Set up Python ${{ matrix.python-version }} (deadsnakes)
-
name
:
Set flag to use deadsnakes
if
:
>-
endsWith(env.PYTHON_VERSION, '-beta') ||
endsWith(env.PYTHON_VERSION, '-dev')
run
:
|
from __future__ import print_function
python_version = '${{ env.PYTHON_VERSION }}'.replace('-beta', '')
print('::set-env name=PYTHON_VERSION::{ver}'.format(ver=python_version))
print('::set-env name=USE_DEADSNAKES::true')
shell
:
python
-
name
:
Set up Python ${{ env.PYTHON_VERSION }} (deadsnakes)
uses
:
deadsnakes/action@v1.0.0
if
:
endsWith(matrix.python-version, '-dev')
if
:
fromJSON(env.USE_DEADSNAKES) &&
true
||
false
with
:
python-version
:
${{
matrix.python-version
}}
-
name
:
Set up Python ${{
matrix.python-version
}}
python-version
:
${{
env.PYTHON_VERSION
}}
-
name
:
Set up Python ${{
env.PYTHON_VERSION
}}
uses
:
actions/setup-python@v2
if
:
"
!endsWith(matrix.python-version,
'-dev')"
if
:
>-
!fromJSON(env.USE_DEADSNAKES) && true || false
with
:
python-version
:
${{
matrix.python-version
}}
python-version
:
${{
env.PYTHON_VERSION
}}
-
name
:
Log Python version
run
:
>-
python --version
...
...
@@ -88,9 +104,9 @@ jobs:
run
:
>-
python -m pip freeze --all
-
name
:
Adjust TOXENV for PyPy
if
:
startsWith(
matrix.python-version
, 'pypy')
if
:
startsWith(
env.PYTHON_VERSION
, 'pypy')
run
:
>-
echo "::set-env name=TOXENV::${{
matrix.python-version
}}"
echo "::set-env name=TOXENV::${{
env.PYTHON_VERSION
}}"
-
name
:
Log env vars
run
:
>-
env
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment