summaryrefslogtreecommitdiff
path: root/.github/workflows/python-tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/python-tests.yml')
-rw-r--r--.github/workflows/python-tests.yml27
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