Simple HTML Generation https://minihtml.trendels.name/
1name: Build python package
2
3on: [push]
4
5permissions: {}
6
7env:
8 # Disable check for new pyright version
9 PYRIGHT_PYTHON_IGNORE_WARNINGS: 1
10
11jobs:
12 build:
13 runs-on: ubuntu-latest
14 strategy:
15 matrix:
16 python-version:
17 - "3.10"
18 - "3.11"
19 - "3.12"
20 - "3.13"
21
22 steps:
23 - uses: actions/checkout@v4
24 with:
25 persist-credentials: false
26
27 - name: Install uv
28 uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
29 with:
30 python-version: ${{ matrix.python-version }}
31 enable-cache: true
32
33 - name: Install just
34 run: uv tool install rust-just
35
36 - name: Install the project
37 run: uv sync --dev
38
39 - name: Run checks
40 run: just check
41
42 - name: Run tests
43 run: just test doctest
44
45 - name: Build package
46 run: uv build