summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck16
1 files changed, 9 insertions, 7 deletions
diff --git a/check b/check
index 641eefe..9519fac 100755
--- a/check
+++ b/check
@@ -32,16 +32,24 @@ title()
title Remote or local yarns?
remote=no
+unit=yes
if [ "$#" -gt 0 ]
then
case "$1" in
https://*)
remote=yes
+ unit=no
remote_url="$1"
shift 1
;;
+ yarns)
+ remote=no
+ unit=no
+ shift 1
+ ;;
local)
remote=no
+ unit=yes
shift 1
;;
*)
@@ -50,15 +58,9 @@ then
;;
esac
fi
-if [ "$remote" = no ]
-then
- echo "Run yarns against a locally managed instance"
-else
- echo "Run yarns against remote instance $remote_url"
-fi
-if [ "$remote" = no ]
+if [ "$unit" = yes ]
then
title Unit tests
python3 -m CoverageTestRunner --ignore-missing-from=without-tests ick2