Skip to content

Commit f4b3ff1

Browse files
committed
wip trying to fix docker output folder
1 parent 97c92f8 commit f4b3ff1

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,10 @@ jobs:
6060
-
6161
name: Test
6262
run: |
63-
docker run --rm -i -v $PWD/tests:/input -v $PWD/tests/:/reads -v $PWD/output:/out -v $PWD/run:/run ${{ env.TEST_TAG }} --tree --standalone_path /input/marker_genes --dna_reference /input/dna_ref.fa --reads /reads/sample_1.fastq --output_path /out/output --debug --threads 1
64-
ls -l /out/output
65-
ls -l /out
66-
ls -l /
67-
if [ ! -f /out/output/tree_sample_1.nwk ] ; then exit 1; fi
63+
docker run --rm -i -v $PWD/tests:/input -v $PWD/tests/:/reads -v $PWD/outside_docker_out:/inside_docker_out -v $PWD/run:/run ${{ env.TEST_TAG }} --tree --standalone_path /input/marker_genes --dna_reference /input/dna_ref.fa --reads /reads/sample_1.fastq --output_path /inside_docker_out/output --debug --threads 1
64+
ls -l $PWD/outside_docker_out
65+
ls -l $PWD/outside_docker_out/output
66+
if [ ! -f $PWD/outside_docker_out/output/tree_sample_1.nwk ] ; then exit 1; fi
6867
-
6968
name: Login to DockerHub
7069
if: github.event_name != 'pull_request' && github.event_name != 'push'

0 commit comments

Comments
 (0)