Skip to content

Commit 426e3c3

Browse files
add python3.9 via deadsnakes action
1 parent 360cd07 commit 426e3c3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/python-tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,22 @@ jobs:
2222
python_version: "2.7"
2323
- os: windows-latest
2424
python_version: "pypy2"
25+
include:
26+
- os: ubuntu-latest
27+
python_version: '3.9-dev'
28+
2529
name: ${{ matrix.os }} - Python ${{ matrix.python_version }}
2630
steps:
2731
- uses: actions/checkout@v1
2832
- name: Setup python
29-
uses: actions/setup-python@v1
33+
uses: actions/setup-python@v2
34+
if: matrix.python_version != '3.9-dev'
35+
with:
36+
python-version: ${{ matrix.python_version }}
37+
architecture: x64
38+
- name: Set up Python ${{ matrix.python_version }} (deadsnakes)
39+
uses: deadsnakes/[email protected]
40+
if: matrix.python_version == '3.9-dev'
3041
with:
3142
python-version: ${{ matrix.python_version }}
3243
architecture: x64

0 commit comments

Comments
 (0)