|
9 | 9 | strategy: |
10 | 10 | matrix: |
11 | 11 | os: [ubuntu-latest, macos-latest, windows-latest] |
12 | | - python-version: [3.6, 3.7, 3.8, 3.9] |
| 12 | + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] |
13 | 13 | fail-fast: false |
14 | 14 | runs-on: ${{ matrix.os }} |
15 | 15 | steps: |
|
28 | 28 | env: |
29 | 29 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
30 | 30 | run: python -m nox --non-interactive --session tests-${{ matrix.python-version }} # Run nox for a single version of Python |
31 | | - ci-beta: |
32 | | - strategy: |
33 | | - matrix: |
34 | | - os: [ubuntu-latest, macos-latest, windows-latest] |
35 | | - python-version: ["3.10.0-beta.2"] |
36 | | - fail-fast: false |
37 | | - runs-on: ${{ matrix.os }} |
38 | | - steps: |
39 | | - - uses: actions/checkout@v2 # https://github.com/actions/checkout |
40 | | - with: |
41 | | - # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow. |
42 | | - # Set fetch-depth: 0 to fetch all history for all branches and tags. |
43 | | - fetch-depth: 0 # Needed for setuptools_scm to work correctly |
44 | | - - name: Set up Python |
45 | | - uses: actions/setup-python@v2 # https://github.com/actions/setup-python |
46 | | - with: |
47 | | - python-version: ${{ matrix.python-version }} |
48 | | - - name: Install python prerequisites |
49 | | - run: pip install -U --user pip setuptools setuptools-scm nox |
50 | | - - name: Run tests and post coverage results |
51 | | - env: |
52 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
53 | | - run: python -m nox --non-interactive --session tests-3.10 # Run nox for a single version of Python |
0 commit comments