Skip to content

Commit 5edc36e

Browse files
committed
restore fix browser arm test
1 parent fc35d7f commit 5edc36e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,8 @@ jobs:
6565
deno-version: v2.x
6666

6767
- name: setup playwright for browser related test
68-
run: |
69-
npx playwright install --with-deps
70-
if [ "${{matrix.os}}]" != "LinuxARM64" ]; then
71-
npx playwright install msedge
72-
fi
73-
npx playwright install chrome
68+
if: matrix.os != 'LinuxARM64'
69+
run: npx playwright install --with-deps && npx playwright install msedge && npx playwright install chrome
7470

7571
- name: build driver
7672
run: npm i && npm run build
@@ -278,12 +274,14 @@ jobs:
278274
run: rm -rf examples/with-typescript-nextjs
279275

280276
- name: node with-javascript-vite
277+
if: matrix.os != 'LinuxARM64'
281278
working-directory: examples/with-javascript-vite
282279
run: npm i && npx playwright test
283280
env:
284281
VITE_DATABASE_URL: ${{ secrets.CHINOOK_DATABASE_URL }}
285282

286283
- name: bun with-javascript-vite
284+
if: matrix.os != 'LinuxARM64'
287285
working-directory: examples/with-javascript-vite
288286
run: |
289287
if [ "$RUNNER_OS" != "Windows" ]; then
@@ -305,16 +303,17 @@ jobs:
305303
run: rm -rf examples/with-javascript-vite
306304

307305
- name: node with-javascript-browser
306+
if: matrix.os != 'LinuxARM64'
308307
working-directory: examples/with-javascript-browser
309308
run: npm i && node test.cjs
310309

311310
- name: bun with-javascript-browser
312-
if: matrix.os != 'windows-latest' #cannot launch browsers on windows with bash in commonjs?
311+
if: matrix.os != 'windows-latest' && matrix.os != 'LinuxARM64' #cannot launch browsers on windows with bash in commonjs?
313312
working-directory: examples/with-javascript-browser
314313
run: bun i && bun test.cjs
315314

316315
- name: deno with-javascript-browser
317-
if: matrix.os != 'windows-latest' #https://github.com/denoland/deno/issues/23524#issuecomment-2292075726
316+
if: matrix.os != 'windows-latest' && matrix.os != 'LinuxARM64' #https://github.com/denoland/deno/issues/23524#issuecomment-2292075726
318317
uses: nick-fields/retry@v3 #doing this step with the retry action because sometimes in macos it gets stuck without failing
319318
with:
320319
timeout_seconds: 45

0 commit comments

Comments
 (0)