From 619443e4b63e6c74e9cca69ced63f61d6c34682d Mon Sep 17 00:00:00 2001 From: Piotr Bulawa Date: Wed, 25 Oct 2023 16:07:07 +0200 Subject: [PATCH] Add logs --- ci/container/test_component.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/container/test_component.sh b/ci/container/test_component.sh index d7e0a0f95..ac4ba2804 100755 --- a/ci/container/test_component.sh +++ b/ci/container/test_component.sh @@ -26,6 +26,8 @@ else fi cp $SOURCE_ROOT/ci/container/package.json . npm install +echo "[DEBUG] List of the npm packages: " +npm list PACKAGE_NAME=$(cd $WORKSPACE && ls snowflake-sdk*.tgz) npm install $WORKSPACE/${PACKAGE_NAME} @@ -93,6 +95,7 @@ fi if [[ -z "$GITHUB_ACTIONS" ]]; then echo "[INFO] Running Internal Tests. Test result: $WORKSPACE/junit-system-test.xml" + echo "[DEBUG]" "${MOCHA_CMD[@]}" if ! ${MOCHA_CMD[@]} "$SOURCE_ROOT/system_test/**/*.js"; then echo "[ERROR] Test failed" [[ -f "$WORKSPACE/junit.xml" ]] && cat $WORKSPACE/junit.xml @@ -103,6 +106,7 @@ if [[ -z "$GITHUB_ACTIONS" ]]; then fi echo "[INFO] Running Tests: Test result: $WORKSPACE/junit.xml" +echo "[DEBUG]" "${MOCHA_CMD[@]}" if ! ${MOCHA_CMD[@]} "$SOURCE_ROOT/test/**/*.js"; then echo "[ERROR] Test failed" [[ -f "$WORKSPACE/junit.xml" ]] && cat $WORKSPACE/junit.xml