Debian Codegraph @

.github/workflows/tests.yaml

raw symbols SCIP
1 name: Tests
2 on:
3 push:
4 branches:
5 - main
6 - '*.x'
7 paths-ignore:
8 - 'docs/**'
9 - '*.md'
10 - '*.rst'
11 pull_request:
12 paths-ignore:
13 - 'docs/**'
14 - '*.md'
15 - '*.rst'
16 jobs:
17 tests:
18 name: ${{ matrix.name || matrix.python }}
19 runs-on: ${{ matrix.os || 'ubuntu-latest' }}
20 strategy:
21 fail-fast: false
22 matrix:
23 include:
24 - {python: '3.14'}
25 - {python: '3.13'}
26 - {python: '3.12'}
27 - {python: '3.11'}
28 - {python: '3.10'}
29 steps:
30 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31 - uses: astral-sh/setup-uv@v7
32 with:
33 enable-cache: true
34 - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
35 with:
36 python-version: ${{ matrix.python }}
37 allow-prereleases: true
38 - run: uv sync --group dev
39 - run: uv run tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}