Repository navigation
80 lines (73 loc) · 1.79 KB
/
Copy pathci.yml
File metadata and controls
80 lines (73 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
# lint-and-docs:
# name: Linting & Documentation
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v7
#
# - name: Install uv
# uses: astral-sh/setup-uv@v7
# with:
# enable-cache: true
#
# - name: Set up Python
# uses: actions/setup-python@v7
# with:
# python-version: "3.14"
#
# - name: Install dependencies
# run: uv sync
#
# - name: Check Python formatting (ruff)
# run: uv run ruff format --check
#
# - name: Lint Python code (ruff)
# run: uv run ruff check
#
# - name: Check Markdown formatting (mdformat)
# run: uv run mdformat --check README.md docs/ sdd/
#
# - name: Check spelling (codespell)
# run: uv run codespell .
#
# - name: Type checking (mypy & ty)
# run: |
# uv run mypy src/
# uv run ty check src/
#
# - name: Build documentation (mkdocs)
# run: uv run mkdocs build
test-matrix:
name: Tests (${{ matrix.os }}, Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-latest,
# macos-latest,
# windows-latest,
]
python-version: [
"3.14",
]
steps:
- uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync
- name: Run unit test suite & benchmarks
run: uv run pytest