Skip to content

Commit

Permalink
no coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Sep 8, 2024
1 parent 5b69e43 commit 25ce3b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .vortex/tests/test.deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ echo "==> Run deployment functional tests (${index})."

bats() {
pushd "${ROOT_DIR}" >/dev/null || exit 1
if [ -n "${VORTEX_DEV_TEST_COVERAGE_DIR:-}" ]; then
mkdir -p "${VORTEX_DEV_TEST_COVERAGE_DIR}"
kcov --include-pattern=.sh,.bash --bash-parse-files-in-dir="${SCRIPTS_DIR}","${TEST_DIR}" --exclude-pattern=vendor,node_modules "${VORTEX_DEV_TEST_COVERAGE_DIR}" "${TEST_DIR}/node_modules/.bin/bats" "$@"
else
# if [ -n "${VORTEX_DEV_TEST_COVERAGE_DIR:-}" ]; then
# mkdir -p "${VORTEX_DEV_TEST_COVERAGE_DIR}"
# kcov --include-pattern=.sh,.bash --bash-parse-files-in-dir="${SCRIPTS_DIR}","${TEST_DIR}" --exclude-pattern=vendor,node_modules "${VORTEX_DEV_TEST_COVERAGE_DIR}" "${TEST_DIR}/node_modules/.bin/bats" "$@"
# else
"${TEST_DIR}/node_modules/.bin/bats" "$@"
fi
# fi
popd >/dev/null || exit 1
}

Expand Down

1 comment on commit 25ce3b5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.