diff options
| author | Eric Lin <anselor@gmail.com> | 2021-06-16 17:26:33 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-06-17 14:10:24 -0400 |
| commit | 7311a7434bc1e9b581638d2339109f2c241fc9ab (patch) | |
| tree | a4a964b55d82f4bd04e90183c587bcefee956efc /.github | |
| parent | ebb939ba0494648a7eb521023649816cd28be6c4 (diff) | |
| download | cmd2-git-7311a7434bc1e9b581638d2339109f2c241fc9ab.tar.gz | |
Trying to isolate beta
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a964092..c0548741 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9, "3.10.0-beta.2"] + python-version: [3.6, 3.7, 3.8, 3.9] fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -27,4 +27,27 @@ jobs: - name: Run tests and post coverage results env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: python -m nox --non-interactive --session tests # Run nox for a single version of Python + run: python -m nox --non-interactive --session tests-${{ matrix.python-version }} # Run nox for a single version of Python + ci-beta: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.10.0-beta.2"] + fail-fast: false + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 # https://github.com/actions/checkout + with: + # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow. + # Set fetch-depth: 0 to fetch all history for all branches and tags. + fetch-depth: 0 # Needed for setuptools_scm to work correctly + - name: Set up Python + uses: actions/setup-python@v2 # https://github.com/actions/setup-python + with: + python-version: ${{ matrix.python-version }} + - name: Install python prerequisites + run: pip install -U --user pip setuptools setuptools-scm nox + - name: Run tests and post coverage results + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: python -m nox --non-interactive --session tests-3.10 # Run nox for a single version of Python |
