Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajiih committed Dec 11, 2024
1 parent a7f3aca commit 7356e9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/code-embedder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/code-embedder_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 7356e9b

Please sign in to comment.