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.
2 parents 7098fb1 + e31b9ae commit c959134Copy full SHA for c959134
.github/workflows/tests.yml
@@ -0,0 +1,33 @@
1
+name: Tests
2
+
3
+on:
4
+ pull_request:
5
+ branches: [dev]
6
+ workflow_call:
7
+ workflow_dispatch:
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Python 3.12
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: 3.12
21
22
+ - name: Install UV
23
+ uses: astral-sh/setup-uv@v2
24
25
+ enable-cache: true
26
27
+ - name: Install dependencies & test tools
28
+ run: |
29
+ uv run pip install -r requirements.txt
30
+ uv run pip install pytest
31
32
+ - name: Run tests
33
+ run: uv run pytest src/tests/ -v --tb=short
0 commit comments