File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+
9+ strategy :
10+ matrix :
11+ python-version : ["3.9", "3.10", "3.11", "3.12"]
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : ${{ matrix.python-version }}
20+
21+ - name : Install uv
22+ run : |
23+ curl -LsSf https://astral.sh/uv/install.sh | sh
24+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
25+
26+ - name : Sync dependencies (prod + dev)
27+ run : uv sync --all-extras --dev
28+
29+ - name : Run tests
30+ run : uv run pytest --cov context_async_sqlalchemy tests examples/fastapi_example/tests examples/starlette_example/tests examples/fastapi_with_pure_asgi_example/tests --cov-report=term-missing
You can’t perform that action at this time.
0 commit comments