File tree 1 file changed +16
-8
lines changed 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 24
24
test-package :
25
25
name : Test ${{ matrix.os }} Python ${{ matrix.python_version }}
26
26
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
33
27
strategy :
34
28
fail-fast : false
35
29
matrix :
40
34
exclude :
41
35
- os : macos-latest-xlarge
42
36
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
43
44
steps :
44
45
- uses : actions/checkout@v4
45
46
@@ -74,13 +75,20 @@ jobs:
74
75
python-version : ${{ matrix.python_version }}
75
76
architecture : x64
76
77
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
+
77
85
- name : Install dependencies
78
86
run : |
79
- python -m pip install -r requirements-dev.txt
87
+ uv pip install -r requirements-dev.txt
80
88
81
89
- name : Install app as editable app
82
90
run : |
83
- python -m pip install -e src/backend
91
+ uv pip install -e src/backend
84
92
85
93
- name : Setup local database with seed data
86
94
run : |
You can’t perform that action at this time.
0 commit comments