Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AngryMaciek committed Mar 6, 2024
1 parent 00b0388 commit 8838077
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ jobs:
-I/usr/share/miniconda3/envs/warlock/include
-lm
- name: Prepare internal conda envs (Ubuntu)
shell: bash -l {0}
run: >
snakemake
--snakefile="workflow/Snakefile" \
--configfile="tests/test1/config-Ubuntu.yml" \
--use-conda \
--conda-create-envs-only \
all
# Run the tests sequentially;
# This could be parallelized in the CI but setting up conda
# is expensive; its faster to run the tests one-by-one.
Expand Down
4 changes: 2 additions & 2 deletions prepare-environments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ conda deactivate
conda activate $ENVPATH

# strange error often appears, installation needs to be called twice
Rscript -e "devtools::install('resources/demonanalysis', upgrade=TRUE)"
Rscript -e "devtools::install('resources/demonanalysis', upgrade=TRUE)"
Rscript -e "devtools::install('resources/demonanalysis', upgrade=TRUE)" || true
Rscript -e "devtools::install('resources/demonanalysis', upgrade=TRUE)" || true

0 comments on commit 8838077

Please sign in to comment.