add nextflow d30e48d
This commit is contained in:
27
nextflow/tests/checks/fusion-symlink.nf/.checks
Normal file
27
nextflow/tests/checks/fusion-symlink.nf/.checks
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Skip test if AWS keys are missing
|
||||
if [ -z "$AWS_ACCESS_KEY_ID" ]; then
|
||||
echo "Missing AWS credentials -- Skipping test"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
OUTDIR="s3://nextflow-ci/work/ci-test/fusion-symlink/$(uuidgen)"
|
||||
|
||||
#
|
||||
# normal run
|
||||
#
|
||||
echo initial run
|
||||
$NXF_RUN -c .config --outdir "$OUTDIR"
|
||||
|
||||
$NXF_CMD fs cp "$OUTDIR/data.txt" data.txt
|
||||
cmp data.txt .expected || false
|
||||
|
||||
#
|
||||
# resume run
|
||||
#
|
||||
echo resumed run
|
||||
$NXF_RUN -c .config --outdir "$OUTDIR" -resume
|
||||
|
||||
$NXF_CMD fs cp "$OUTDIR/data.txt" data.txt
|
||||
cmp data.txt .expected || false
|
||||
5
nextflow/tests/checks/fusion-symlink.nf/.config
Normal file
5
nextflow/tests/checks/fusion-symlink.nf/.config
Normal file
@@ -0,0 +1,5 @@
|
||||
workDir = 's3://nextflow-ci/work'
|
||||
fusion.enabled = true
|
||||
fusion.exportStorageCredentials = true
|
||||
wave.enabled = true
|
||||
docker.runOptions = '-e FUSION_TRACING_DESTINATION=objectstore://'
|
||||
1
nextflow/tests/checks/fusion-symlink.nf/.expected
Normal file
1
nextflow/tests/checks/fusion-symlink.nf/.expected
Normal file
@@ -0,0 +1 @@
|
||||
HELLO
|
||||
Reference in New Issue
Block a user