Reflow GHA

This commit is contained in:
Hynek Schlawack 2022-08-19 09:22:35 +02:00
parent 307a6467d3
commit a961e9a42f
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 12 additions and 6 deletions

View File

@ -10,11 +10,10 @@ on:
workflow_dispatch:
env:
FORCE_COLOR: "1" # Make tools pretty.
FORCE_COLOR: "1" # Make tools pretty.
TOX_TESTENV_PASSENV: FORCE_COLOR
PYTHON_LATEST: "3.10"
jobs:
tests:
name: tox on ${{ matrix.python-version }}
@ -23,7 +22,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11.0-beta - 3.11", "pypy-3.7", "pypy-3.8"]
python-version:
[
"3.6",
"3.7",
"3.8",
"3.9",
"3.10",
"3.11.0-beta - 3.11",
"pypy-3.7",
"pypy-3.8",
]
steps:
- uses: actions/checkout@v3
@ -47,7 +56,6 @@ jobs:
path: .coverage.*
if-no-files-found: ignore
coverage:
runs-on: ubuntu-latest
needs: tests
@ -79,7 +87,6 @@ jobs:
path: htmlcov
if: ${{ failure() }}
package:
name: Build & verify package
runs-on: ubuntu-latest
@ -97,7 +104,6 @@ jobs:
- name: Check long_description
run: python -m twine check dist/*
install-dev:
name: Verify dev env
runs-on: ${{ matrix.os }}