summaryrefslogtreecommitdiff
path: root/scripts/undercoverage
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/undercoverage')
-rwxr-xr-xscripts/undercoverage3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/undercoverage b/scripts/undercoverage
new file mode 100755
index 00000000000..cc7415d67ac
--- /dev/null
+++ b/scripts/undercoverage
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+bundle exec undercover -c "${CI_MERGE_REQUEST_DIFF_BASE_SHA:-$(git merge-base origin/master HEAD)}"