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 99598dc commit cdb244bCopy full SHA for cdb244b
.github/workflows/tests.yaml
@@ -0,0 +1,37 @@
1
+name: "Tests"
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request: # all pull requests
8
9
+jobs:
10
+ pytest:
11
+ name: Python ${{ matrix.python-version }}
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ python-version:
16
+ - "3.8"
17
+ - "3.9"
18
+ - "3.10"
19
+ - "3.11"
20
+ - "3.12"
21
+ - "3.13"
22
+ steps:
23
+ - name: Checkout
24
+ uses: actions/checkout@v5
25
26
+ - name: Install uv with Python ${{ matrix.python-version }}
27
+ uses: astral-sh/setup-uv@v6
28
+ with:
29
+ python-version: ${{ matrix.python-version }}
30
31
+ - name: Install the project
32
+ run: uv sync --locked --all-extras --dev
33
+ - name: Run tests (with coverage)
34
35
+ run: |
36
+ uv run coverage run -m pytest
37
+ uv run coverage report -m
0 commit comments