Hopefully this time fix windows runner detection
This commit is contained in:
2
.github/ci-cd-scripts/playwright-electron.sh
vendored
2
.github/ci-cd-scripts/playwright-electron.sh
vendored
@ -8,7 +8,7 @@ if [[ ! -f "test-results/.last-run.json" ]]; then
|
|||||||
echo "run playwright normally"
|
echo "run playwright normally"
|
||||||
if [[ "$3" == ubuntu-latest* ]]; then
|
if [[ "$3" == ubuntu-latest* ]]; then
|
||||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu -- --shard=$1/$2 || true
|
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu -- --shard=$1/$2 || true
|
||||||
elif [[ "$3" == windows-latest* ]]; then
|
elif [[ "$3" == windows* ]]; then
|
||||||
yarn test:playwright:electron:windows -- --shard=$1/$2 || true
|
yarn test:playwright:electron:windows -- --shard=$1/$2 || true
|
||||||
elif [[ "$3" == macos-14* ]]; then
|
elif [[ "$3" == macos-14* ]]; then
|
||||||
yarn test:playwright:electron:macos -- --shard=$1/$2 || true
|
yarn test:playwright:electron:macos -- --shard=$1/$2 || true
|
||||||
|
|||||||
Reference in New Issue
Block a user