Skip to content

Commit

Permalink
Install dependencies in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HomayoonAlimohammadi committed Feb 10, 2025
1 parent 32c89a5 commit b623f9f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/check_autogen_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,27 @@ on:
jobs:
check-autogen:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.12"
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python (if required)
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: ${{ env.PYTHON_VERSION }}

- name: Setup Astral UV
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install dependencies
run: |
uv venv
source .venv/bin/activate
uv sync --project charms/worker/k8s --all-groups --active
- name: Run auto-generation
run: make autogen
Expand Down

0 comments on commit b623f9f

Please sign in to comment.