We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b463aa3 commit 02f7714Copy full SHA for 02f7714
1 file changed
.github/build.sh
@@ -1,7 +1,6 @@
1
#!/bin/sh
2
-set -e
3
-curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh
4
-sh ci-build.sh
+curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-build.sh &&
+sh ci-build.sh || { echo "Maven build failed. Skipping melting pot tests."; exit 1; }
5
6
# Helper method to get the last cache modified date as seconds since epoch
7
last_cache_modified () {
@@ -20,6 +19,7 @@ fi
20
19
21
# run melting-pot
22
tests/run.sh
+meltResult=$?
23
24
# Record the last time of cache modification after running melting-pot
25
if [ -f "~/.cache/scijava/melting-pot" ]; then
@@ -32,3 +32,5 @@ if [ "$cache_modified_post" -gt "$cache_modified_pre" ]; then
32
else
33
echo "update-cache=false" >> $GITHUB_ENV
34
fi
35
+
36
+exit $meltResult
0 commit comments