Install only nox and pre-commit in CI
All checks were successful
All checks were successful
The `nox` sessions install `velofy` and its dependencies themselves; so, a full `uv sync` only duplicated that work.
This commit is contained in:
parent
53746966ac
commit
8b5e66d70b
1 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
name: Set up `velofy`
|
||||
description: Install R, `uv`, and `velofy` with its dependencies
|
||||
description: Install R, `uv`, `nox`, and `pre-commit`
|
||||
|
||||
|
||||
runs:
|
||||
|
|
@ -46,6 +46,8 @@ runs:
|
|||
echo "$HOME/.local/bin" >> "$FORGEJO_PATH"
|
||||
"$HOME/.local/bin/uv" python install $(grep -oP 'Programming Language :: Python :: \K3\.\d+' pyproject.toml)
|
||||
|
||||
- name: Install `velofy` and its dependencies
|
||||
# The jobs only use `nox` and `pre-commit` from the develop environment
|
||||
# => The `nox` sessions install `velofy` and its dependencies themselves
|
||||
- name: Install `nox` and `pre-commit`
|
||||
shell: bash
|
||||
run: '"$HOME/.local/bin/uv" sync --locked'
|
||||
run: '"$HOME/.local/bin/uv" sync --locked --only-group dev'
|
||||
|
|
|
|||
Loading…
Reference in a new issue