File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2- set -e
3- curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh
4- sh ci-build.sh
2+ curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh &&
3+ sh ci-build.sh || { echo " Maven build failed. Skipping melting pot tests." ; exit 1; }
54
65# Helper method to get the last cache modified date as seconds since epoch
76last_cache_modified () {
2019
2120# run melting-pot
2221tests/run.sh
22+ meltResult=$?
2323
2424# Record the last time of cache modification after running melting-pot
2525if [ -f " ~/.cache/scijava/melting-pot" ]; then
@@ -32,3 +32,5 @@ if [ "$cache_modified_post" -gt "$cache_modified_pre" ]; then
3232else
3333 echo " update-cache=false" >> $GITHUB_ENV
3434fi
35+
36+ exit $meltResult
You can’t perform that action at this time.
0 commit comments