From 57d30deae32dcb0b3e8c4cc96cc15649695cce85 Mon Sep 17 00:00:00 2001 From: Deepjyoti Barman Date: Wed, 4 Dec 2024 09:39:17 +0530 Subject: [PATCH] Add changes to not use absolute path for junit results --- .circleci/config_continue.yml | 2 +- .circleci/setupAndTestBackendSDKWithFreeCore.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config_continue.yml b/.circleci/config_continue.yml index d9920f833..60bd54d67 100644 --- a/.circleci/config_continue.yml +++ b/.circleci/config_continue.yml @@ -84,7 +84,7 @@ jobs: - run: update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2 - run: (cd .circleci/ && ./doBackendSDKTests.sh << parameters.cdi-version >> << parameters.fdi-version >>) - store_test_results: - path: ~/test_report/report_node-<< parameters.fdi-version >>.xml + path: test_report/report_node-<< parameters.fdi-version >>.xml - slack/status test-website: docker: diff --git a/.circleci/setupAndTestBackendSDKWithFreeCore.sh b/.circleci/setupAndTestBackendSDKWithFreeCore.sh index 0b7320a5e..c06dcb261 100755 --- a/.circleci/setupAndTestBackendSDKWithFreeCore.sh +++ b/.circleci/setupAndTestBackendSDKWithFreeCore.sh @@ -61,8 +61,6 @@ fi echo "Testing with FREE core: $coreVersion, plugin-interface: $pluginInterfaceVersion" -mkdir -p ~/test_report - cd ../../ git clone git@github.com:supertokens/supertokens-root.git cd supertokens-root @@ -117,6 +115,7 @@ export NODE_PORT=8081 export INSTALL_PATH=../supertokens-root export multi="spec=- mocha-junit-reporter=/dev/null" +mkdir test_report TEST_FILES=$(circleci tests glob "test/**/*.test.js") echo "$TEST_FILES" | circleci tests run --command="xargs npx mocha mocha --reporter mocha-multi --node-option no-experimental-fetch -r test/fetch-polyfill.mjs --timeout 500000 --no-config" --verbose --split-by=timings