Skip to content

Commit 8231858

Browse files
committed
fix: replace uv pip install --system with uv sync in CI and Makefile
1 parent 20cf3f5 commit 8231858

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: astral-sh/setup-uv@v3
1515
with:
1616
python-version: "3.11"
17-
- run: uv pip install -e ".[dev]" --system
17+
- run: uv sync --extra dev
1818
- run: uv run ruff check .
1919
- run: uv run ruff format --check .
2020
- run: uv run mypy src/gaussian_renderer
@@ -29,5 +29,5 @@ jobs:
2929
- uses: astral-sh/setup-uv@v3
3030
with:
3131
python-version: ${{ matrix.python-version }}
32-
- run: uv pip install -e ".[dev]" --system
32+
- run: uv sync --extra dev
3333
- run: uv run pytest

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: astral-sh/setup-uv@v3
1717
with:
1818
python-version: "3.11"
19-
- run: uv pip install -e ".[dev]" --system
19+
- run: uv sync --extra dev
2020
- run: uv run pytest
2121
- run: uv build
2222
- uses: pypa/gh-action-pypi-publish@release/v1

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: install lint format typecheck test ci
22

33
install:
4-
uv pip install -e ".[dev]"
4+
uv sync --extra dev
55

66
lint:
77
uv run ruff check .

0 commit comments

Comments
 (0)