Skip to content

Commit

Permalink
fix junit
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-akolodziejczyk committed Nov 22, 2024
1 parent d033319 commit b162485
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ci/container/test_authentication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

set -o pipefail

export PATH=./node_modules/.bin:$PATH
export WORKSPACE=${WORKSPACE:-/mnt/workspace}

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
mocha --exit -timeout 180000 --reporter xunit --reporter-options output=$WORKSPACE/junit-auth.xml --reporter spec --recursive --full-trace test/authentication/**/*.js test/authentication/*.js
mocha --exit -timeout 180000 --reporter xunit --reporter-options output=$WORKSPACE/junit-auth.xml --recursive --full-trace test/authentication/**/*.js test/authentication/*.js
1 change: 0 additions & 1 deletion ci/test_authentication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ 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"

0 comments on commit b162485

Please sign in to comment.