From 89961d6d62f7c1c4ba64181efa1169a52eb0e670 Mon Sep 17 00:00:00 2001 From: Matthias Zepper Date: Fri, 4 Oct 2024 16:17:42 +0200 Subject: [PATCH] Tidy Jinja template markup. --- CHANGELOG.md | 1 + .../.github/workflows/download_pipeline.yml | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12a0c9911..717e82a48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ - Remove if/else block to include `igenomes.config` ([#3168](https://github.com/nf-core/tools/pull/3168)) - Fixed release announcement hashtags for Mastodon ([#3099](https://github.com/nf-core/tools/pull/3176)) - Remove try/catch blocks from `nextflow.config` ([#3167](https://github.com/nf-core/tools/pull/3167)) +- Extend `download_pipeline.yml` to count pre-downloaded container images. ([#3182](https://github.com/nf-core/tools/pull/3182)) ### Linting diff --git a/nf_core/pipeline-template/.github/workflows/download_pipeline.yml b/nf_core/pipeline-template/.github/workflows/download_pipeline.yml index 29a9e8b5d..8d70f3896 100644 --- a/nf_core/pipeline-template/.github/workflows/download_pipeline.yml +++ b/nf_core/pipeline-template/.github/workflows/download_pipeline.yml @@ -74,7 +74,7 @@ jobs: --download-configuration 'yes' - name: Inspect download - run: tree ./${{ env.REPOTITLE_LOWERCASE }}{% endraw %}{% if test_config %}{% raw %} + run: tree ./${{ env.REPOTITLE_LOWERCASE }}{% if test_config %} - name: Count the downloaded number of container images id: count_initial @@ -96,7 +96,7 @@ jobs: env: NXF_SINGULARITY_CACHEDIR: ./singularity_container_images NXF_SINGULARITY_HOME_MOUNT: true - run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -profile test,singularity --outdir ./results{% endraw %}{% endif %} + run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -profile test,singularity --outdir ./results - name: Count the downloaded number of container images id: count_afterwards @@ -107,7 +107,6 @@ jobs: - name: Compare container image counts run: | - {% raw %} if [ "${{ env.IMAGE_COUNT_INITIAL }}" -ne "${{ env.IMAGE_COUNT_AFTER }}" ]; then initial_count=${{ env.IMAGE_COUNT_INITIAL }} final_count=${{ env.IMAGE_COUNT_AFTER }} @@ -118,4 +117,4 @@ jobs: else echo "The pipeline can be downloaded successfully!" fi - {% endraw %} + {% endif %}{% endraw %}