We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8126a5c commit 27e9314Copy full SHA for 27e9314
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,30 @@
1
+name: tests
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
13
+ - name: Install uv
14
+ uses: astral-sh/setup-uv@v6
15
+ with:
16
+ enable-cache: true
17
18
+ - name: Install dependencies
19
+ run: uv sync --group=test
20
21
+ - name: Run tests
22
+ run: uv run pytest --cov=src --cov-report=xml --cov-report=html
23
24
+ - name: Upload coverage report
25
+ uses: actions/upload-artifact@v4
26
+ if: always()
27
28
+ name: coverage-report
29
+ path: htmlcov/
30
+ retention-days: 7
0 commit comments