Skip to content

Commit

Permalink
add junit report
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-akolodziejczyk committed Nov 22, 2024
1 parent b7b4c0e commit c5358bd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ timestamps {
'''.stripMargin()
}
}
junit '**/junit-auth.xml'
}
)
}
Expand Down
3 changes: 2 additions & 1 deletion ci/container/test_authentication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ set -o pipefail
AUTH_PARAMETER_FILE=./.github/workflows/parameters_aws_auth_tests.json
eval $(jq -r '.authtestparams | to_entries | map("export \(.key)=\(.value|tostring)")|.[]' $AUTH_PARAMETER_FILE)

export PATH=./node_modules/.bin:$PATH
npm install
npm run test:authentication
mocha --exit -timeout 180000 --reporter xunit --reporter-options output=$WORKSPACE/junit-auth.xml --reporter spec --recursive --full-trace test/authentication/**/*.js test/authentication/*.js
1 change: 1 addition & 0 deletions ci/test_authentication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" --output $
docker run \
-v $(cd $THIS_DIR/.. && pwd):/mnt/host \
-v $WORKSPACE:/mnt/workspace \
-e WORKSPACE \
--rm \
nexus.int.snowflakecomputing.com:8086/docker/snowdrivers-test-external-browser:1 \
"/mnt/host/ci/container/test_authentication.sh"
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"lint:check:all:errorsOnly": "npm run lint:check:all -- --quiet",
"lint:fix": "eslint --fix",
"test": "mocha -timeout 180000 --recursive --full-trace test/unit/**/*.js test/unit/*.js",
"test:authentication": "mocha --exit -timeout 180000 --recursive --full-trace test/authentication/**/*.js test/authentication/*.js",
"test:integration": "mocha -timeout 180000 --recursive --full-trace test/integration/**/*.js test/integration/*.js",
"test:single": "mocha -timeout 180000 --full-trace",
"test:system": "mocha -timeout 180000 --recursive --full-trace system_test/*.js",
Expand Down

0 comments on commit c5358bd

Please sign in to comment.