Skip to content

Commit

Permalink
Fix artifacts path
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Feb 9, 2024
1 parent a158dc4 commit 5b1427a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/install_conda.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -eo pipefail

artifacts_dir="artifacts-nextflow-${NXF_VER}"
artifacts_dir="artifacts"

echo "Install Miniconda .." >> ${artifacts_dir}/test.log

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/install_nextflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eo pipefail

artifacts_dir="artifacts-nextflow-${NXF_VER}"
artifacts_dir="artifacts"

echo Install Nextflow .. >> ${artifacts_dir}/test.log

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/prepare_artifacts.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

artifacts_dir="artifacts-nextflow-${NXF_VER}"
artifacts_dir="artifacts"

echo "Prepare artifacts .." >> ${artifacts_dir}/test.log

Expand Down
2 changes: 0 additions & 2 deletions .github/scripts/run_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -eo pipefail

sed -i 's/cpus = 8/cpus = 4/g' nextflow.config

cat nextflow.config

nextflow run main.nf \
-profile conda \
--cache ${HOME}/.conda/envs \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
env:
NXF_VER: ${{ matrix.nextflow_version }}
with:
name: artifacts-nextflow-${{ matrix.nextflow_version }}
path: artifacts-nextflow-${NXF_VER}
name: artifacts-nextflow-${{ matrix.nextflow_version }}-${{ env.RUN_UNIQUE_ID }}
path: artifacts
7 changes: 7 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def parsePipelineName(name) {

profiles {
conda {
conda.enabled = true
process.conda = "$baseDir/environments/environment.yml"
if (params.cache){
conda.cacheDir = params.cache
Expand All @@ -64,3 +65,9 @@ process {
cpus = 8
}
}

trace {
enabled = true
overwrite = true
file = "${params.outdir}/nextflow_trace.tsv"
}

0 comments on commit 5b1427a

Please sign in to comment.