File tree Expand file tree Collapse file tree 4 files changed +26
-20
lines changed Expand file tree Collapse file tree 4 files changed +26
-20
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,21 @@ jobs:
22
22
23
23
steps :
24
24
- uses : actions/checkout@v4
25
+
26
+ - name : install uv
27
+ uses : astral-sh/setup-uv@v5
28
+
25
29
- name : Set up Python ${{ matrix.python-version }}
26
30
uses : actions/setup-python@v5
27
31
with :
28
32
python-version : ${{ matrix.python-version }}
29
33
30
34
- name : Install dependencies
31
35
run : |
32
- python -m pip install --upgrade pip
33
- pip install .[minimal_requirements]
34
- pip install .[dev]
35
- pip install build
36
- pip install types-shapely
36
+ uv pip install .[minimal_requirements] --system
37
+ uv pip install .[dev] --system
38
+ uv pip install build --system
39
+ uv pip install types-shapely --system
37
40
38
41
- name : Run checks with ruff
39
42
run : |
Original file line number Diff line number Diff line change @@ -15,21 +15,21 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
18
+ - name : install uv
19
+ uses : astral-sh/setup-uv@v5
20
+
18
21
- name : Setup python ${{ matrix.python-version }}
19
22
uses : actions/setup-python@v5
20
23
with :
21
24
python-version : ${{ matrix.python-version }}
22
25
23
- - name : Update pip
24
- run : pip install --upgrade pip
25
-
26
26
- name : Install package
27
- run : python -m pip install -e .[dev]
27
+ run : uv pip install -e .[dev] --system
28
28
29
29
- name : Generate coverage report
30
30
run : |
31
- pip install pytest
32
- pip install pytest-cov
31
+ uv pip install pytest --system
32
+ uv pip install pytest-cov --system
33
33
pytest --cov=./blueprints --cov-report=xml
34
34
35
35
- name : Upload coverage to Codecov
Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
21
+ - name : install uv
22
+ uses : astral-sh/setup-uv@v5
23
+
21
24
- name : Setup python ${{ matrix.python-version }}
22
25
uses : actions/setup-python@v5
23
26
with :
24
27
python-version : ${{ matrix.python-version }}
25
28
26
- - name : Update pip
27
- run : pip install --upgrade pip
28
-
29
29
- name : Install package
30
- run : python -m pip install -e .[dev]
30
+ run : uv pip install -e .[dev] --system
31
31
32
32
- name : Check code coverage is 100%
33
33
run : |
Original file line number Diff line number Diff line change @@ -16,17 +16,20 @@ jobs:
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
19
+ - name : install uv
20
+ uses : astral-sh/setup-uv@v5
21
+
19
22
- name : Set up Python ${{ matrix.python-version }}
20
23
uses : actions/setup-python@v5
21
24
with :
22
25
python-version : ${{ matrix.python-version }}
23
26
24
27
- name : Install dependencies
28
+ shell : bash
25
29
run : |
26
- python -m pip install --upgrade pip
27
- pip install .
28
- pip install .[minimal_requirements]
29
- pip install .[dev]
30
+ uv pip install . --system
31
+ uv pip install .[minimal_requirements] --system
32
+ uv pip install .[dev] --system
30
33
31
34
- name : Run checks with ruff
32
35
run : |
42
45
43
46
- name : Run tests with pytest
44
47
run : |
45
- python -m pytest --pspec tests/ --verbose
48
+ pytest --pspec tests/ --verbose
You can’t perform that action at this time.
0 commit comments