Use deadsnakes/action@v1.0.0 to install python3.9 nightly
This commit is contained in:
parent
c594bbbd19
commit
c9abdaf381
|
@ -94,7 +94,7 @@ jobs:
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
tox_env: "py38-xdist"
|
tox_env: "py38-xdist"
|
||||||
- name: "ubuntu-py39"
|
- name: "ubuntu-py39"
|
||||||
python: "3.8"
|
python: "3.9-dev"
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
tox_env: "py39-xdist"
|
tox_env: "py39-xdist"
|
||||||
- name: "ubuntu-pypy3"
|
- name: "ubuntu-pypy3"
|
||||||
|
@ -132,14 +132,14 @@ jobs:
|
||||||
- run: git fetch --prune --unshallow
|
- run: git fetch --prune --unshallow
|
||||||
- name: Set up Python ${{ matrix.python }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
if: matrix.python != '3.9-dev'
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python }}
|
||||||
|
- name: Set up Python ${{ matrix.python }} (deadsnakes)
|
||||||
|
uses: deadsnakes/action@v1.0.0
|
||||||
|
if: matrix.python == '3.9-dev'
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
- name: install python3.9
|
|
||||||
if: matrix.tox_env == 'py39-xdist'
|
|
||||||
run: |
|
|
||||||
sudo add-apt-repository ppa:deadsnakes/nightly
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y --no-install-recommends python3.9-dev python3.9-distutils
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
Loading…
Reference in New Issue