@@ -89,51 +89,51 @@ jobs:
8989 echo "Initial container image count: $image_count"
9090 echo "IMAGE_COUNT_INITIAL=$image_count" >> "$GITHUB_OUTPUT"
9191
92- - name : Download busco data
93- # Download A busco subset for the fungal test data set that is full enough to show some real output.
94- run : |
95- curl https://tolit.cog.sanger.ac.uk/test-data/resources/treeval/TreeValTinyData/busco.tar.gz | tar xzf -
96-
97- - name : Run the downloaded pipeline (stub)
98- id : stub_run_pipeline
99- continue-on-error : true
100- env :
101- NXF_SINGULARITY_CACHEDIR : ./singularity_container_images
102- NXF_SINGULARITY_HOME_MOUNT : true
103- run : nextflow run ./${{needs.configure.outputs.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ needs.configure.outputs.REPO_BRANCH }}) -stub -profile test,singularity --outdir ./results
104- - name : Run the downloaded pipeline (stub run not supported)
105- id : run_pipeline
106- if : ${{ steps.stub_run_pipeline.outcome == 'failure' }}
107- env :
108- NXF_SINGULARITY_CACHEDIR : ./singularity_container_images
109- NXF_SINGULARITY_HOME_MOUNT : true
110- run : nextflow run ./${{ needs.configure.outputs.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ needs.configure.outputs.REPO_BRANCH }}) -profile test,singularity --outdir ./results
111-
112- - name : Count the downloaded number of container images
113- id : count_afterwards
114- run : |
115- image_count=$(ls -1 ./singularity_container_images | wc -l | xargs)
116- echo "Post-pipeline run container image count: $image_count"
117- echo "IMAGE_COUNT_AFTER=$image_count" >> "$GITHUB_OUTPUT"
118-
119- - name : Compare container image counts
120- id : count_comparison
121- run : |
122- if [ "${{ steps.count_initial.outputs.IMAGE_COUNT_INITIAL }}" -ne "${{ steps.count_afterwards.outputs.IMAGE_COUNT_AFTER }}" ]; then
123- initial_count=${{ steps.count_initial.outputs.IMAGE_COUNT_INITIAL }}
124- final_count=${{ steps.count_afterwards.outputs.IMAGE_COUNT_AFTER }}
125- difference=$((final_count - initial_count))
126- echo "$difference additional container images were \n downloaded at runtime . The pipeline has no support for offline runs!"
127- tree ./singularity_container_images > ./container_afterwards
128- diff ./container_initial ./container_afterwards
129- exit 1
130- else
131- echo "The pipeline can be downloaded successfully!"
132- fi
133-
134- - name : Upload Nextflow logfile for debugging purposes
135- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
136- with :
137- name : nextflow_logfile.txt
138- path : .nextflow.log*
139- include-hidden-files : true
92+ # - name: Download busco data
93+ # # Download A busco subset for the fungal test data set that is full enough to show some real output.
94+ # run: |
95+ # curl https://tolit.cog.sanger.ac.uk/test-data/resources/treeval/TreeValTinyData/busco.tar.gz | tar xzf -
96+
97+ # - name: Run the downloaded pipeline (stub)
98+ # id: stub_run_pipeline
99+ # continue-on-error: true
100+ # env:
101+ # NXF_SINGULARITY_CACHEDIR: ./singularity_container_images
102+ # NXF_SINGULARITY_HOME_MOUNT: true
103+ # run: nextflow run ./${{needs.configure.outputs.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ needs.configure.outputs.REPO_BRANCH }}) -stub -profile test,singularity --outdir ./results
104+ # - name: Run the downloaded pipeline (stub run not supported)
105+ # id: run_pipeline
106+ # if: ${{ steps.stub_run_pipeline.outcome == 'failure' }}
107+ # env:
108+ # NXF_SINGULARITY_CACHEDIR: ./singularity_container_images
109+ # NXF_SINGULARITY_HOME_MOUNT: true
110+ # run: nextflow run ./${{ needs.configure.outputs.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ needs.configure.outputs.REPO_BRANCH }}) -profile test,singularity --outdir ./results
111+
112+ # - name: Count the downloaded number of container images
113+ # id: count_afterwards
114+ # run: |
115+ # image_count=$(ls -1 ./singularity_container_images | wc -l | xargs)
116+ # echo "Post-pipeline run container image count: $image_count"
117+ # echo "IMAGE_COUNT_AFTER=$image_count" >> "$GITHUB_OUTPUT"
118+
119+ # - name: Compare container image counts
120+ # id: count_comparison
121+ # run: |
122+ # if [ "${{ steps.count_initial.outputs.IMAGE_COUNT_INITIAL }}" -ne "${{ steps.count_afterwards.outputs.IMAGE_COUNT_AFTER }}" ]; then
123+ # initial_count=${{ steps.count_initial.outputs.IMAGE_COUNT_INITIAL }}
124+ # final_count=${{ steps.count_afterwards.outputs.IMAGE_COUNT_AFTER }}
125+ # difference=$((final_count - initial_count))
126+ # echo "$difference additional container images were \n downloaded at runtime . The pipeline has no support for offline runs!"
127+ # tree ./singularity_container_images > ./container_afterwards
128+ # diff ./container_initial ./container_afterwards
129+ # exit 1
130+ # else
131+ # echo "The pipeline can be downloaded successfully!"
132+ # fi
133+
134+ # - name: Upload Nextflow logfile for debugging purposes
135+ # uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
136+ # with:
137+ # name: nextflow_logfile.txt
138+ # path: .nextflow.log*
139+ # include-hidden-files: true
0 commit comments