Debian Codegraph @

.github/workflows/main.yaml

raw symbols SCIP
1 name: Build
2 on:
3 push:
4 branches:
5 - main
6
7 pull_request:
8 branches:
9 - main
10
11 jobs:
12 test:
13 strategy:
14 matrix:
15 python-version:
16 - "3.10"
17 - "3.11"
18 - "3.12"
19 - "3.13"
20 - "3.14"
21 os:
22 - macos
23 - ubuntu
24 - windows
25
26 name: tests
27 runs-on: ${{ matrix.os }}-latest
28 steps:
29 - uses: actions/[email protected]
30
31 - uses: actions/[email protected]
32 with:
33 python-version: ${{ matrix.python-version }}
34
35 - run: pip install .
36
37 - run: pip install pytest
38
39 - name: run tests
40 run: pytest
41
42 lint:
43 name: pre-commit
44 runs-on: ubuntu-latest
45 steps:
46 - uses: actions/[email protected]
47
48 - uses: actions/[email protected]
49 with:
50 python-version: 3.x
51
52 - name: install package
53 run: pip install . tomli
54
55 - name: run pre-commit
56 uses: pre-commit/[email protected]
57
58 fuzz:
59 name: fuzz
60 runs-on: ubuntu-latest
61 steps:
62 - uses: actions/[email protected]
63
64 - uses: actions/[email protected]
65 with:
66 python-version: 3.x
67
68 - run: pip install .
69
70 - name: run fuzz
71 run: python test_fuzz.py ./*.py