File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 2424 test-package :
2525 name : Test ${{ matrix.os }} Python ${{ matrix.python_version }}
2626 runs-on : ${{ matrix.os }}
27- env :
28- POSTGRES_HOST : localhost
29- POSTGRES_USERNAME : postgres
30- POSTGRES_PASSWORD : root
31- POSTGRES_DATABASE : postgres
32- POSTGRES_SSL : disable
3327 strategy :
3428 fail-fast : false
3529 matrix :
4034 exclude :
4135 - os : macos-latest-xlarge
4236 python_version : " 3.10"
37+ env :
38+ UV_SYSTEM_PYTHON : 1
39+ POSTGRES_HOST : localhost
40+ POSTGRES_USERNAME : postgres
41+ POSTGRES_PASSWORD : root
42+ POSTGRES_DATABASE : postgres
43+ POSTGRES_SSL : disable
4344 steps :
4445 - uses : actions/checkout@v4
4546
@@ -74,13 +75,20 @@ jobs:
7475 python-version : ${{ matrix.python_version }}
7576 architecture : x64
7677
78+ - name : Install uv
79+ uses : astral-sh/setup-uv@v3
80+ with :
81+ enable-cache : true
82+ version : " 0.4.20"
83+ cache-dependency-glob : " requirements**.txt"
84+
7785 - name : Install dependencies
7886 run : |
79- python -m pip install -r requirements-dev.txt
87+ uv pip install -r requirements-dev.txt
8088
8189 - name : Install app as editable app
8290 run : |
83- python -m pip install -e src/backend
91+ uv pip install -e src/backend
8492
8593 - name : Setup local database with seed data
8694 run : |
You can’t perform that action at this time.
0 commit comments