Skip to content

Commit 6ecd778

Browse files
authored
Merge pull request #2253 from hugovk/gha-3.9-dev
Test Python 3.9-dev on GitHub Actions
2 parents 9e16d53 + 0039de0 commit 6ecd778

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/python-tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- macOS-latest
3131
# - windows-2019
3232
# - windows-2016
33+
include:
34+
# Dev versions
35+
- { python-version: 3.9-dev, os: ubuntu-20.04 }
3336

3437
env:
3538
NETWORK_REQUIRED: 1
@@ -38,8 +41,14 @@ jobs:
3841

3942
steps:
4043
- uses: actions/checkout@master
44+
- name: Set up Python ${{ matrix.python-version }} (deadsnakes)
45+
uses: deadsnakes/[email protected]
46+
if: endsWith(matrix.python-version, '-dev')
47+
with:
48+
python-version: ${{ matrix.python-version }}
4149
- name: Set up Python ${{ matrix.python-version }}
4250
uses: actions/[email protected]
51+
if: "!endsWith(matrix.python-version, '-dev')"
4352
with:
4453
python-version: ${{ matrix.python-version }}
4554
- name: Log Python version

0 commit comments

Comments
 (0)