File tree Expand file tree Collapse file tree 2 files changed +6
-30
lines changed Expand file tree Collapse file tree 2 files changed +6
-30
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,19 @@ jobs:
20
20
test :
21
21
name : Test
22
22
timeout-minutes : 120
23
- runs-on : ubuntu-22.04
23
+ runs-on : ${{ matrix.runs-on }}
24
24
strategy :
25
25
fail-fast : false
26
26
matrix :
27
27
flavor : [jammy, noble]
28
+ runs-on : [ubuntu-24.04, ubuntu-24.04-arm]
28
29
steps :
29
30
- uses : actions/checkout@v4
30
31
- name : Build Docker image
31
- run : bash utils/docker/build.sh --amd64 ${{ matrix.flavor }} playwright-java:localbuild-${{ matrix.flavor }}
32
+ run : |
33
+ ARCH="${{ matrix.runs-on == 'ubuntu-24.04-arm' && 'arm64' || 'amd64' }}"
34
+ bash utils/docker/build.sh --$ARCH ${{ matrix.flavor }} playwright-java:localbuild-${{ matrix.flavor }}
32
35
- name : Test
33
36
run : |
34
- CONTAINER_ID="$(docker run --rm --ipc=host -v $(pwd):/root/playwright --name playwright-docker-test -d -t playwright-java:localbuild-${{ matrix.flavor }} /bin/bash)"
37
+ CONTAINER_ID="$(docker run --rm -e CI - -ipc=host -v $(pwd):/root/playwright --name playwright-docker-test -d -t playwright-java:localbuild-${{ matrix.flavor }} /bin/bash)"
35
38
docker exec "${CONTAINER_ID}" /root/playwright/tools/test-local-installation/create_project_and_run_tests.sh
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments