Skip to content

Commit 64327e9

Browse files
committed
Trying to isolate beta
1 parent 497c0ea commit 64327e9

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10.0-beta.2"]
12+
python-version: [3.6, 3.7, 3.8, 3.9]
1313
fail-fast: false
1414
runs-on: ${{ matrix.os }}
1515
steps:
@@ -27,4 +27,27 @@ jobs:
2727
- name: Run tests and post coverage results
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
run: python -m nox --non-interactive --session tests # Run nox for a single version of Python
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

Comments
 (0)