We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c954808 commit a5cf2f1Copy full SHA for a5cf2f1
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: "Run tests"
2
+
3
+on:
4
+ push:
5
+ branches: [ $default-branch ]
6
+ pull-request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ python-version: ["3.12", "3.13"]
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - name: Set up Python ${{ matrix.python-version }}
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: ${{ matrix.python-version }}
24
+ - name: Install uv
25
+ uses: astral-sh/setup-uv@v6
26
27
+ version: "latest"
28
+ enable-cache: true
29
+ cache-dependency-glob: uv.lock
30
+ - name: Install dependencies
31
+ run: |
32
+ uv sync --locked --all-extras --dev
33
+ - name: Run tests
34
35
+ uv run pytest
0 commit comments