Skip to content

Commit c89ed12

Browse files
committed
Add SML Package
1 parent c448366 commit c89ed12

36 files changed

Lines changed: 3665 additions & 0 deletions

.github/workflows/ci.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
name: Lint & Format (Python ${{ matrix.python-version }})
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: ["3.10", "3.13"]
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- run: pip install -e ".[dev]"
22+
- run: ruff check .
23+
- run: ruff format --check .
24+
25+
typecheck:
26+
name: Type Check (Python ${{ matrix.python-version }})
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
python-version: ["3.10", "3.13"]
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: actions/setup-python@v5
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
- run: pip install -e ".[dev]"
37+
- run: mypy
38+
39+
test:
40+
name: Tests (Python ${{ matrix.python-version }})
41+
runs-on: ubuntu-latest
42+
strategy:
43+
matrix:
44+
python-version: ["3.10", "3.13"]
45+
steps:
46+
- uses: actions/checkout@v4
47+
- uses: actions/setup-python@v5
48+
with:
49+
python-version: ${{ matrix.python-version }}
50+
- run: pip install -e ".[dev]"
51+
- run: pytest --cov --cov-report=term-missing

0 commit comments

Comments
 (0)