diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 8832074..4ffa6bd 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -26,7 +26,7 @@ jobs: python-version: "3.10" - name: Install libs - run: uv sync --no-group dev --group lint + run: uv sync --no-default-groups --group lint --no-install-project - name: Lint files run: make lint @@ -45,7 +45,7 @@ jobs: python-version: "3.10" - name: Install libs - run: uv sync --no-group dev --group typing + run: uv sync --no-default-groups --group typing --no-install-project - name: Check files run: make type @@ -67,5 +67,8 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install libs + run: uv sync --no-default-groups --group test + - name: Test with python ${{ matrix.python-version }} run: make tests diff --git a/.github/workflows/publish_doc.yml b/.github/workflows/publish_doc.yml index 9794ee5..780f787 100644 --- a/.github/workflows/publish_doc.yml +++ b/.github/workflows/publish_doc.yml @@ -32,7 +32,7 @@ jobs: - name: Install libs run: | - uv sync --no-group dev --group docs + uv sync --no-default-groups --group docs echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH echo "VIRTUAL_ENV=$GITHUB_WORKSPACE/.venv" >> $GITHUB_ENV diff --git a/Makefile b/Makefile index ee2f223..20551b4 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,17 @@ format: - uv run ruff format - uv run ruff check --fix + uv run --no-sync ruff format + uv run --no-sync ruff check --fix lint: - uv run ruff format --check - uv run ruff check + uv run --no-sync ruff format --check + uv run --no-sync ruff check type: - uv run ty check + uv run --no-sync ty check .PHONY: tests tests: - uv run pytest + uv run --no-sync pytest check: format lint type tests