File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,23 @@ jobs:
14
14
python-version : ["3.10"]
15
15
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v3
18
18
19
19
- name : Set up Python ${{ matrix.python-version }}
20
- uses : actions/setup-python@v2
20
+ uses : actions/setup-python@v4
21
21
with :
22
22
python-version : ${{ matrix.python-version }}
23
-
24
- - name : Install dependencies
23
+ # ---------- install uv -------------------------------------------------
24
+ - name : Install uv (fast dependency resolver)
25
25
run : |
26
- python -m pip install --upgrade pip
27
- pip install pytest pytest-asyncio pytest-cov requests-mock boto3 moto
28
- pip install -r requirements.txt
26
+ python -m pip install --upgrade pip uv
29
27
28
+ # ---------- reproduce locked env --------------------------------------
29
+ - name : Sync project dependencies from uv.lock
30
+ run : |
31
+ uv pip install --system -r uv.lock
32
+
33
+ # ---------- run test suite -----------------------------------
30
34
- name : Run tests and generate coverage report
31
35
run : |
32
36
pytest tests/ --cov=app --cov-report=xml
You can’t perform that action at this time.
0 commit comments