diff --git a/.github/workflows/code-embedder.yaml b/.github/workflows/code-embedder.yaml index f7b23e4..9e4af4b 100644 --- a/.github/workflows/code-embedder.yaml +++ b/.github/workflows/code-embedder.yaml @@ -38,15 +38,23 @@ jobs: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('uv.lock') }} - # Manually add extras used in snippet + # # Manually add extras used in snippet + # - name: 📥 Install the project + # run: uv pip install ".[loguru]" + - name: 📥 Install the project - run: uv pip install ".[loguru]" + run: | + uv sync --all-extras --dev + uv pip install . - name: 🏞️ Activate virtual environment run: | source .venv/bin/activate echo PATH=$PATH >> $GITHUB_ENV + - name: 📥 Install the main package + run: uv pip install . + - name: 🪄 Format raw code snippets with ruff run: | pipx install ruff diff --git a/.github/workflows/code-embedder_test.yaml b/.github/workflows/code-embedder_test.yaml index 0251504..7e1ffd0 100644 --- a/.github/workflows/code-embedder_test.yaml +++ b/.github/workflows/code-embedder_test.yaml @@ -39,7 +39,9 @@ jobs: key: ${{ runner.os }}-pip-${{ hashFiles('uv.lock') }} - name: 📥 Install the project - run: uv sync --all-extras --dev + run: | + uv sync --all-extras --dev + uv pip install . - name: 🏞️ Activate virtual environment run: |