From bfe6966751f021e02db2259a976d312b6bfa3f50 Mon Sep 17 00:00:00 2001 From: cnouguier Date: Mon, 22 Apr 2024 21:44:28 +0200 Subject: [PATCH] wip: Refactor CI to use GitHub actions and generic bash scripts #846 --- scripts/run_tests.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 5d376c7c8..b0f79bdd5 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -13,11 +13,14 @@ WORKSPACE_DIR="$(dirname "$ROOT_DIR")" ## NODE_VER=16 -MONGO_VER="" +MONGO_VER="4" CI_STEP_NAME="Run tests" CODE_COVERAGE=false -while getopts "n:cr:" option; do +while getopts "m:n:cr:" option; do case $option in + m) # defines mongo version + MONGO_VER=$OPTARG + ;; n) # defines node version NODE_VER=$OPTARG ;;