File tree Expand file tree Collapse file tree 2 files changed +42
-13
lines changed
Expand file tree Collapse file tree 2 files changed +42
-13
lines changed Original file line number Diff line number Diff line change 1+ name : " Continuous Integration"
2+
3+
4+ on :
5+ push :
6+ branches : [main]
7+ pull_request :
8+ schedule :
9+ - cron : " 0 2 * * *"
10+
11+ jobs :
12+ tests :
13+ name : python ${{ matrix.python-version }} tests, ${{ matrix.uv-resolution }} dependencies
14+ runs-on : ubuntu-latest
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ python-version :
19+ - " 3.9"
20+ - " 3.10"
21+ - " 3.11"
22+ - " 3.12"
23+ - " 3.13"
24+ uv-resolution :
25+ - " lowest"
26+ - " highest"
27+ steps :
28+ - uses : actions/checkout@v4
29+
30+ - name : Install uv and set the python version
31+ uses : astral-sh/setup-uv@v5
32+ with :
33+ python-version : ${{ matrix.python-version }}
34+ cache-dependency-glob : " **/pyproject.toml"
35+ cache-suffix : ${{ matrix.uv-resolution }}
36+
37+ - name : Install the project
38+ run : uv sync --all-extras --dev --resolution ${{ matrix.uv-resolution }}
39+
40+ - name : Run tests
41+ run : |
42+ uv run pytest --sqlalchemy-connect-url="sqlite:///foo.sqlite"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments