Install CI dependencies in Forgejo workflow
All checks were successful
CI / check (push) Successful in 19s
All checks were successful
CI / check (push) Successful in 19s
This commit is contained in:
parent
853e99ca5f
commit
3d33a78f1f
1 changed files with 14 additions and 0 deletions
|
|
@ -29,12 +29,26 @@ jobs:
|
|||
set -euo pipefail
|
||||
git clone --depth 1 git@aksal.cloud:Robot-U/robot-u-site.git robot-u-site
|
||||
|
||||
- name: Install CI tooling and dependencies
|
||||
run: |
|
||||
set -euo pipefail
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
curl -fsSL https://bun.sh/install | bash
|
||||
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"
|
||||
cd robot-u-site
|
||||
uv venv .venv
|
||||
uv pip install -r requirements.txt
|
||||
cd frontend
|
||||
bun install --frozen-lockfile --ignore-scripts
|
||||
|
||||
- name: Check Python
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"
|
||||
cd robot-u-site
|
||||
./scripts/check_python_quality.sh
|
||||
|
||||
- name: Check Frontend
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH"
|
||||
cd robot-u-site
|
||||
./scripts/check_frontend_quality.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue