Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
34 lines
752 B
YAML
34 lines
752 B
YAML
---
|
|
name: Test Suite
|
|
|
|
on:
|
|
push:
|
|
branches: ["master"]
|
|
pull_request:
|
|
branches: ["master"]
|
|
|
|
jobs:
|
|
tests:
|
|
name: "Python ${{ matrix.python-version }}"
|
|
runs-on: "ubuntu-latest"
|
|
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
|
|
|
steps:
|
|
- uses: "actions/checkout@v3"
|
|
- uses: "actions/setup-python@v3"
|
|
with:
|
|
python-version: "${{ matrix.python-version }}"
|
|
- name: "Install dependencies"
|
|
run: "scripts/install"
|
|
- name: "Run linting checks"
|
|
run: "scripts/check"
|
|
- name: "Build package & docs"
|
|
run: "scripts/build"
|
|
- name: "Run tests"
|
|
run: "scripts/test"
|
|
- name: "Enforce coverage"
|
|
run: "scripts/coverage"
|