Skip to content

Commit

Permalink
Use a simple report name for junit result reports
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30-st committed Dec 4, 2024
1 parent d30ae63 commit 208ff60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .circleci/config_continue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ jobs:
type: string
fdi-version:
type: string
environment:
MOCHA_FILE: test_report/report_node-<< parameters.fdi-version >>.xml
steps:
- checkout
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
Expand All @@ -84,7 +82,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-results/junit.xml
- slack/status
test-website:
docker:
Expand Down
4 changes: 2 additions & 2 deletions .circleci/setupAndTestBackendSDKWithFreeCore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ export NODE_PORT=8081
export INSTALL_PATH=../supertokens-root
export multi="spec=- mocha-junit-reporter=/dev/null"

mkdir test_report
mkdir -p test-results
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
echo "$TEST_FILES" | circleci tests run --command="xargs npx mocha mocha --reporter mocha-multi --reporter-options mocha-junit-reporter:output=test-results/junit.xml --node-option no-experimental-fetch -r test/fetch-polyfill.mjs --timeout 500000 --no-config" --verbose --split-by=timings

# kill test-server
kill $(lsof -t -i:$API_PORT)

0 comments on commit 208ff60

Please sign in to comment.