Skip to content

Commit 2faf214

Browse files
committed
sbatch in conda
1 parent e77048c commit 2faf214

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/qiita-plugin-ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ jobs:
4848
run: |
4949
echo "Testing: " $COVER_PACKAGE
5050
51-
# creating sbatch executable
52-
ls ./; pwd
53-
ls -laht /home/runner/.local/bin
54-
echo '/usr/bin/bash "$@"' > /home/runner/.local/bin/sbatch
55-
chmod +x /home/runner/.local/bin/sbatch
56-
5751
# we need to download qiita directly so we have "easy" access to
5852
# all config files
5953
wget https://github.com/biocore/qiita/archive/dev.zip
@@ -72,6 +66,10 @@ jobs:
7266
conda activate qiita
7367
pip install sphinx sphinx-bootstrap-theme nose-timer Click
7468
69+
# creating sbatch executable
70+
echo '/usr/bin/bash "$@"' > ${CONDA_PREFIX}/bin/sbatch
71+
chmod +x ${CONDA_PREFIX}/bin/sbatch
72+
7573
- name: Qiita install
7674
shell: bash -l {0}
7775
run: |
@@ -93,6 +91,10 @@ jobs:
9391
9492
conda activate klp
9593
94+
# creating sbatch executable
95+
echo '/usr/bin/bash "$@"' > ${CONDA_PREFIX}/bin/sbatch
96+
chmod +x ${CONDA_PREFIX}/bin/sbatch
97+
9698
export QIITA_ROOTCA_CERT=`pwd`/qiita-dev/qiita_core/support_files/ci_rootca.crt
9799
export QIITA_CONFIG_FP=`pwd`/qiita-dev/qiita_core/support_files/config_test_local.cfg
98100
pip --quiet install -U pip

0 commit comments

Comments
 (0)