We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b431780 commit f0678e4Copy full SHA for f0678e4
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+permissions:
10
+ contents: read
11
12
+concurrency:
13
+ group: ${{ github.workflow }}-${{ github.ref }}
14
+ cancel-in-progress: true
15
16
+jobs:
17
+ test:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v6
21
+ - name: Set up uv
22
+ uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
23
+ with:
24
+ version: "0.11.15"
25
+ enable-cache: true
26
+ - name: Set up Python
27
+ run: uv python install
28
+ - name: Install dependencies
29
+ run: uv sync --locked --all-extras --dev
30
+ - name: Format check
31
+ run: uv run ruff check --output-format=github .
32
+ - name: Type check
33
+ run: uv run mypy src tests
34
+ - name: Test
35
+ run: uv run pytest
0 commit comments