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