Debian Codegraph @

.github/workflows/test-suite.yml

raw
1 ---
2 name: Test Suite
3
4 on:
5 push:
6 branches: ["master"]
7 pull_request:
8 branches: ["master", "version-*"]
9
10 jobs:
11 tests:
12 name: "Python ${{ matrix.python-version }}"
13 runs-on: "ubuntu-latest"
14
15 strategy:
16 matrix:
17 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18
19 steps:
20 - uses: "actions/checkout@v4"
21 - uses: "actions/setup-python@v5"
22 with:
23 python-version: "${{ matrix.python-version }}"
24 allow-prereleases: true
25 - name: "Install dependencies"
26 run: "scripts/install"
27 - name: "Run linting checks"
28 run: "scripts/check"
29 - name: "Build package & docs"
30 run: "scripts/build"
31 - name: "Run tests"
32 run: "scripts/test"
33 - name: "Enforce coverage"
34 run: "scripts/coverage"