diff --git a/.github/workflows/singularity_image.yml b/.github/workflows/singularity_image.yml index 66bb4fe..f7c0289 100644 --- a/.github/workflows/singularity_image.yml +++ b/.github/workflows/singularity_image.yml @@ -25,12 +25,12 @@ jobs: - name: Test run: | - rm -rf /home/ubuntu/workspace/AWI_09_004/partitions*.json - rm -rf /home/ubuntu/workspace/AWI_09_004/*.csv - rm -rf /home/ubuntu/workspace/AWI_09_004/*.parquet - rm -rf /home/ubuntu/workspace/AWI_09_004/outputs/* - singularity run --bind /home/ubuntu/workspace/AWI_09_004:/ngen/ngen/data ciroh-ngen-singularity.sif "/ngen/ngen/data auto 2" - output_count=`ls /home/ubuntu/workspace/AWI_09_004/outputs | wc -l` + rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/partitions*.json + rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/*.csv + rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/*.parquet + rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/outputs/*/* + singularity run --bind /home/ubuntu/workspace/AWI_16_2853886_006:/ngen/ngen/data ciroh-ngen-singularity.sif "/ngen/ngen/data auto 2" + output_count=`ls /home/ubuntu/workspace/AWI_16_2853886_006/outputs/* | wc -l` if [[ "$output_count" < 1 ]]; then echo "No outputs found" exit 1 @@ -40,4 +40,4 @@ jobs: - name: Push Singularity Image to Library run: | - singularity push -U ciroh-ngen-singularity.sif library://awiciroh/ngiab/ciroh-ngen-singularity:latest \ No newline at end of file + singularity push -U ciroh-ngen-singularity.sif library://awiciroh/ngiab/ciroh-ngen-singularity:latest