We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda44bd commit 444ce9bCopy full SHA for 444ce9b
.github/workflows/test.yml
@@ -0,0 +1,32 @@
1
+name: Test
2
+on: [push]
3
+jobs:
4
+ build:
5
+ name: continuous-integration
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ python-version:
10
+ - "3.9"
11
+ - "3.10"
12
+ - "3.11"
13
+ - "3.12"
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Install uv and set the python version
19
+ uses: astral-sh/setup-uv@v5
20
+ with:
21
+ enable-cache: true
22
+ cache-dependency-glob: "uv.lock"
23
+ python-version: ${{ matrix.python-version }}
24
25
+ - name: Install the project
26
+ run: uv sync --all-extras --dev
27
28
+ - name: Run tests
29
+ run: uv run pytest
30
31
+ - name: Minimize uv cache
32
+ run: uv cache prune --ci
0 commit comments