Simplify github actions matrix definition
@@ -11,7 +11,7 @@ on:
- "*"
jobs:
- lint:
+ linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@@ -24,67 +24,20 @@ jobs:
pip install nox virtualenv
- name: Lint
run: "nox -s lint"
- build:
+ tests_run:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
- name:
- - "ubuntu-py37"
- - "ubuntu-py38"
- - "ubuntu-py39"
- - "ubuntu-py310"
-
- - "macos-py37"
- - "macos-py38"
- - "macos-py39"
- - "macos-py310"
-
- - "windows-py37"
- - "windows-py38"
- - "windows-py39"
- - "windows-py310"
-
- include:
- - name: "ubuntu-py37"
- python: "3.7"
- os: ubuntu-latest
- - name: "ubuntu-py38"
- python: "3.8"
- os: ubuntu-latest
- - name: "ubuntu-py39"
- python: "3.9"
- os: ubuntu-latest
- - name: "ubuntu-py310"
- python: "3.10"
- os: ubuntu-latest
-
- - name: "macos-py37"
- python: "3.7"
- os: macos-latest
- - name: "macos-py38"
- python: "3.8"
- os: macos-latest
- - name: "macos-py39"
- python: "3.9"
- os: macos-latest
- - name: "macos-py310"
- python: "3.10"
- os: macos-latest
-
- - name: "windows-py37"
- python: "3.7"
- os: windows-latest
- - name: "windows-py38"
- python: "3.8"
- os: windows-latest
- - name: "windows-py39"
- python: "3.9"
- os: windows-latest
- - name: "windows-py310"
- python: "3.10"
- os: windows-latest
-
+ os:
+ - ubuntu-latest
+ - macos-latest
+ - windows-latest
+ python:
+ - "3.7"
+ - "3.8"
+ - "3.9"
+ - "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
