File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed
Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 3838
3939 - name : Install dependencies
4040 run : |
41- make venv
41+ export UV=$(which uv)
42+ make venv-install
4243
4344 - name : Check changelog entry exists
4445 run : |
Original file line number Diff line number Diff line change 4040
4141 - name : Install dependencies
4242 run : |
43- make venv
43+ export UV=$(which uv)
44+ make venv-install
4445
4546 - name : Run mypy
4647 run : uv run mypy ./data_rentgen --config-file ./pyproject.toml
Original file line number Diff line number Diff line change 4141
4242 - name : Install dependencies
4343 run : |
44- make venv
44+ export UV=$(which uv)
45+ make venv-install
4546
4647 - name : Generate OpenAPI Schema
4748 run : |
Original file line number Diff line number Diff line change 4646
4747 - name : Install dependencies
4848 run : |
49- make venv
49+ export UV=$(which uv)
50+ make venv-install
5051
5152 - name : Run Tests
5253 run : |
@@ -116,11 +117,13 @@ jobs:
116117 with :
117118 python-version : ${{ env.DEFAULT_PYTHON }}
118119
119- - name : Upgrade pip
120- run : python -m pip install --upgrade pip setuptools wheel
120+ - name : Install uv
121+ uses : astral-sh/setup-uv@v7
121122
122123 - name : Install dependencies
123- run : pip install -I coverage
124+ run : |
125+ export UV=$(which uv)
126+ make venv-install
124127
125128 - name : Download all raw coverage data
126129 uses : actions/download-artifact@v7
@@ -130,8 +133,8 @@ jobs:
130133
131134 - name : Combine Coverage Data
132135 run : |
133- coverage combine coverage-data
134- coverage xml -o combined_coverage.xml
136+ uv run coverage combine coverage-data
137+ uv run coverage xml -o combined_coverage.xml
135138
136139 - name : Coverage comment
137140 id : coverage
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ VERSION = develop
66VIRTUAL_ENV ?= .venv
77PYTHON = ${VIRTUAL_ENV}/bin/python
88PIP = ${VIRTUAL_ENV}/bin/pip
9- UV = ${VIRTUAL_ENV}/bin/uv
9+ UV ? = ${VIRTUAL_ENV}/bin/uv
1010PYTEST = ${VIRTUAL_ENV}/bin/pytest
1111COVERAGE = ${VIRTUAL_ENV}/bin/coverage
1212
You can’t perform that action at this time.
0 commit comments