diff options
author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2020-05-24 13:42:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 13:42:56 +0200 |
commit | ffa49f402b95fb22bd0ff85aec5e20efa5769050 (patch) | |
tree | ec2ee93d3e829c92b6995e7b34fdc39a0f013dff | |
parent | 360cd07f2b84618db13da5a0c305624ad559b32f (diff) | |
parent | e1c247345643e30db6177d754864bd248a674818 (diff) | |
download | setuptools-scm-ffa49f402b95fb22bd0ff85aec5e20efa5769050.tar.gz |
Merge pull request #439 from pypa/infra/py39
add python3.9 via deadsnakes action
-rw-r--r-- | .github/workflows/python-tests.yml | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 712648f..9099eb2 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -22,11 +22,22 @@ jobs: python_version: "2.7" - os: windows-latest python_version: "pypy2" + include: + - os: ubuntu-latest + python_version: '3.9-dev' + name: ${{ matrix.os }} - Python ${{ matrix.python_version }} steps: - uses: actions/checkout@v1 - name: Setup python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 + if: matrix.python_version != '3.9-dev' + with: + python-version: ${{ matrix.python_version }} + architecture: x64 + - name: Set up Python ${{ matrix.python_version }} (deadsnakes) + uses: deadsnakes/action@v1.0.0 + if: matrix.python_version == '3.9-dev' with: python-version: ${{ matrix.python_version }} architecture: x64 @@ -64,13 +75,21 @@ jobs: name: Python ${{ matrix.python_version }} eggs strategy: matrix: - python_version: ['2.7', '3.5', '3.6', '3.7', '3.8'] + python_version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9-dev'] steps: - uses: actions/checkout@v1 - - name: Set up Python - uses: actions/setup-python@v1 + - name: Setup python + uses: actions/setup-python@v2 + if: matrix.python_version != '3.9-dev' + with: + python-version: ${{ matrix.python_version }} + architecture: x64 + - name: Set up Python ${{ matrix.python_version }} (deadsnakes) + uses: deadsnakes/action@v1.0.0 + if: matrix.python_version == '3.9-dev' with: python-version: ${{ matrix.python_version }} + architecture: x64 - name: Install dependencies run: | python -m pip install --upgrade pip |