set -e # # run normal mode # echo '' $NXF_RUN | tee stdout [[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > sayhello'` == 1 ]] || false [[ `grep -c 'Hello world!' stdout` == 1 ]] || false # # RESUME mode # echo '' $NXF_RUN -resume | tee stdout [[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > sayhello'` == 1 ]] || false [[ `grep -c 'Hello world!' stdout` == 1 ]] || false # # checks reports # echo '' $NXF_RUN -with-report -with-timeline -with-trace -with-dag | tee stdout [ -s report-*.html ] || false [ -s timeline-*.html ] || false [ -s trace-*.txt ] || false [ -s dag-*.html ] || false