File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
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.11
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : ' 3.11'
21+
22+ - name : Install uv package manager
23+ uses : astral-sh/setup-uv@v3
24+
25+ - name : Cache uv dependencies
26+ uses : actions/cache@v4
27+ with :
28+ path : .venv
29+ key : ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml') }}
30+
31+ - name : Install uv dependencies
32+ run : uv sync --dev
33+
34+ - name : Run unit tests
35+ run : uv run pytest tests/unit -v
36+
37+ - name : Run integration tests
38+ run : uv run pytest tests/integration -v
You can’t perform that action at this time.
0 commit comments