Skip to content

Commit 355b42f

Browse files
committed
Add pixi run install_all
1 parent cf9e985 commit 355b42f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pixi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ jobs:
1919
- name: Install project dependencies with pixi
2020
run: pixi install
2121

22+
- name: Run project install tasks (pip + R)
23+
run: pixi run install_all
24+
2225
- name: Build site / render with quarto via pixi
2326
run: pixi run quarto render

pixi.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ r-spData = "*"
2020

2121
[tasks]
2222
simple = "echo This is a simple task"
23-
install_r = { cmd="Rscript install.R"}
24-
install_py = { cmd = "python3 -m pip install --user -r requirements.txt" }
23+
install_r = { cmd="Rscript install.R" }
24+
install_py = { cmd = "python3 -m pip install --user -r requirements.txt" }
25+
install_all = { cmd = "python3 -m pip install --user -r requirements.txt && Rscript install.R" }

0 commit comments

Comments
 (0)