1 parent 9e772a5 commit 867320bCopy full SHA for 867320b
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,37 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12"]
15
16
+ steps:
17
+ - uses: actions/checkout@v6
18
19
+ - name: Install Rust
20
+ uses: dtolnay/rust-toolchain@stable
21
22
+ - name: Set up Python ${{ matrix.python-version }}
23
+ uses: actions/setup-python@v6
24
+ with:
25
+ python-version: ${{ matrix.python-version }}
26
27
+ - name: Install uv
28
+ uses: astral-sh/setup-uv@v5
29
30
+ - name: Install dependencies
31
+ run: uv sync --dev
32
33
+ - name: Build
34
+ run: uv run maturin develop
35
36
+ - name: Run tests
37
+ run: uv run pytest tests/
0 commit comments