File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,19 @@ jobs:
2020 test :
2121 name : Test
2222 timeout-minutes : 120
23- runs-on : ubuntu-22.04
23+ runs-on : ${{ matrix.runs-on }}
2424 strategy :
2525 fail-fast : false
2626 matrix :
2727 flavor : [jammy, noble]
28+ runs-on : [ubuntu-24.04, ubuntu-24.04-arm]
2829 steps :
2930 - uses : actions/checkout@v4
3031 - 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 }}
3235 - name : Test
3336 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)"
3538 docker exec "${CONTAINER_ID}" /root/playwright/tools/test-local-installation/create_project_and_run_tests.sh
You can’t perform that action at this time.
0 commit comments