File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,18 +18,17 @@ jobs:
1818 - name : Checkout code
1919 uses : actions/checkout@v4
2020
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v5
23+
2124 - name : Setup Python
22- uses : actions/setup-python@v5
23- with :
24- python-version : ' 3.11'
25+ run : uv python install 3.11
2526
2627 - name : Install dependencies
27- run : |
28- pip install -e .
29- pip install pytest
28+ run : uv pip install --system -e ".[dev]"
3029
3130 - name : Run tests
32- run : pytest tests/test_models.py -v
31+ run : uv run pytest tests/test_models.py -v
3332
3433 deploy :
3534 name : Deploy
Original file line number Diff line number Diff line change @@ -15,15 +15,14 @@ jobs:
1515 - name : Checkout code
1616 uses : actions/checkout@v4
1717
18+ - name : Install uv
19+ uses : astral-sh/setup-uv@v5
20+
1821 - name : Setup Python
19- uses : actions/setup-python@v5
20- with :
21- python-version : ' 3.11'
22+ run : uv python install 3.11
2223
2324 - name : Install dependencies
24- run : |
25- pip install -e .
26- pip install pytest
25+ run : uv pip install --system -e ".[dev]"
2726
2827 - name : Run tests
29- run : pytest tests/test_models.py -v
28+ run : uv run pytest tests/test_models.py -v
You can’t perform that action at this time.
0 commit comments