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 857e423 commit bb0262bCopy full SHA for bb0262b
.github/workflows/pytest.yml
@@ -0,0 +1,35 @@
1
+name: Run Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
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@v4
19
+ with:
20
+ python-version: 3.12
21
22
+ - name: Install uv (fast Python package installer)
23
+ run: |
24
+ curl -LsSf https://astral.sh/uv/install.sh | sh
25
+ export PATH="$HOME/.local/bin:$PATH"
26
+ echo "$PATH" >> $GITHUB_ENV
27
28
+ - name: Install dependencies with uv
29
30
+ # Install project dependencies (from pyproject.toml)
31
+ uv sync
32
33
+ - name: Run tests with uv
34
35
+ uv run pytest
0 commit comments