Fixes shell command execution in Docker
Ensures the shell command is properly executed within the Docker container by wrapping it in quotes. This resolves issues where the command was being misinterpreted or failing to execute as intended.
This commit is contained in:
parent
0b71f997ca
commit
ac92600b28
1 changed files with 2 additions and 2 deletions
|
|
@ -180,8 +180,8 @@ jobs:
|
|||
--ipc=host \
|
||||
--env-file "${{ parameters.envFileName }}" \
|
||||
${{ parameters.dockerImageName }}:${{ parameters.imageTag }} \
|
||||
npx --prefix $PLAYWRIGHT_PATH playwright test $PLAYWRIGHT_PATH --shard=$SHARD_NUMBER/$TOTAL_SHARDS --reporter=list,blob $FILTER \
|
||||
)
|
||||
"npx --prefix $PLAYWRIGHT_PATH playwright test $PLAYWRIGHT_PATH --shard=$SHARD_NUMBER/$TOTAL_SHARDS --reporter=list,blob $FILTER" \
|
||||
)
|
||||
fi
|
||||
# Start container and stream logs
|
||||
echo "Starting tests for shard $(shardNumber)..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue