Skip to content

Commit f6e56d4

Browse files
committed
Debug conda
1 parent 8c8372b commit f6e56d4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

dev/github-actions/install-R.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/zsh
22
set -eu
3+
exec 2>&1
34

45
# INSTALL R SH
56
# and RInside
@@ -24,12 +25,23 @@ case $MATRIX_OS {
2425
PS4="
2526
+ "
2627

28+
set -x
29+
echo CONDA_EXE $CONDA_EXE
30+
CONDA_HOME=$(dirname $(dirname $CONDA_EXE))
31+
CONDA_BIN_DIR=$CONDA_HOME/bin
32+
set +x
33+
echo source $CONDA_BIN_DIR/activate
34+
source $CONDA_BIN_DIR/activate
35+
set -x
36+
37+
which python conda
38+
2739
() {
2840
set -x
2941
conda install --yes --quiet -c conda-forge -c swift-t $PKG
3042
rehash
3143
echo $PATH
32-
which python
44+
3345
which Rscript
3446
Rscript dev/conda/install-RInside.R
3547
}

0 commit comments

Comments
 (0)