Debian Codegraph @

.github/workflows/ci.yml

raw
1 name: CI
2
3 on:
4 push:
5 branches: [main]
6 pull_request: ~
7
8 permissions:
9 contents: read
10
11 jobs:
12 test:
13 runs-on: ubuntu-latest
14
15 strategy:
16 fail-fast: false
17 matrix:
18 python-version: [ "3.10", "3.11", "3.12", "3.13" ]
19
20 steps:
21 - name: Checkout repository
22 uses: actions/checkout@v4
23 - name: "Set up Python ${{ matrix.python-version }}"
24 uses: actions/setup-python@v5
25 with:
26 python-version: ${{ matrix.python-version }}
27 - name: Install dependencies
28 run: |
29 python -m pip install --upgrade pip
30 python -m pip install ".[dev]"
31 - name: Lint with ruff
32 run: |
33 ruff check jvcprojector tests
34 - name: Type check with mypy
35 run: |
36 mypy jvcprojector tests
37 - name: Run tests
38 run: |
39 pytest -q