|
8 | 8 | strategy: |
9 | 9 | fail-fast: false |
10 | 10 | matrix: |
11 | | - python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9"] |
| 11 | + python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9", "3.10-dev"] |
12 | 12 | os: [ubuntu-latest, macos-latest, windows-latest] |
13 | 13 | include: |
14 | 14 | # Include new variables for Codecov |
15 | 15 | - { codecov-flag: GHA_Ubuntu, os: ubuntu-latest } |
16 | 16 | - { codecov-flag: GHA_macOS, os: macos-latest } |
17 | 17 | - { codecov-flag: GHA_Windows, os: windows-latest } |
18 | | - # Dev versions |
19 | | - - { python-version: 3.10-dev, os: ubuntu-18.04 } |
20 | 18 |
|
21 | 19 | steps: |
22 | 20 | - uses: actions/checkout@v2 |
23 | 21 |
|
24 | | - - name: Set up Python ${{ matrix.python }} (deadsnakes) |
25 | | - uses: deadsnakes/action@v1.0.0 |
26 | | - if: endsWith(matrix.python-version, '-dev') |
27 | | - with: |
28 | | - python-version: ${{ matrix.python-version }} |
29 | | - |
30 | 22 | - name: Set up Python ${{ matrix.python-version }} |
31 | | - if: "!endsWith(matrix.python-version, '-dev')" |
32 | 23 | uses: actions/setup-python@v2 |
33 | 24 | with: |
34 | 25 | python-version: ${{ matrix.python-version }} |
35 | 26 |
|
36 | 27 | - name: Get pip cache dir |
37 | 28 | id: pip-cache |
38 | 29 | run: | |
39 | | - python -m pip install -U "pip>=20.1" |
40 | 30 | echo "::set-output name=dir::$(pip cache dir)" |
41 | 31 |
|
42 | 32 | - name: pip cache |
|
0 commit comments