File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
tools/test-local-installation Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ jobs:
3636 bash utils/docker/build.sh --$ARCH ${{ matrix.flavor }} playwright-java:localbuild-${{ matrix.flavor }}
3737 - name : Start container
3838 run : |
39- 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)
39+ CONTAINER_ID=$(docker run --rm -e CI -e PW_MAX_RETRIES - -ipc=host -v "$(pwd)":/root/playwright --name playwright-docker-test -d -t playwright-java:localbuild-${{ matrix.flavor }} /bin/bash)
4040 echo "CONTAINER_ID=$CONTAINER_ID" >> $GITHUB_ENV
4141
4242 - name : Run test in container
4343 run : |
44- docker exec -e PW_MAX_RETRIES "$CONTAINER_ID" /root/playwright/tools/test-local-installation/create_project_and_run_tests.sh
44+ docker exec "$CONTAINER_ID" /root/playwright/tools/test-local-installation/create_project_and_run_tests.sh
4545
4646 - name : Test ClassLoader
4747 run : |
48- docker exec -e PW_MAX_RETRIES "${CONTAINER_ID}" /root/playwright/tools/test-spring-boot-starter/package_and_run_async_test.sh
48+ docker exec "${CONTAINER_ID}" /root/playwright/tools/test-spring-boot-starter/package_and_run_async_test.sh
4949
5050 - name : Stop container
5151 run : |
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ cp -R ../../driver-bundle/src/test/ $PROJECT_DIR/src/
1414cp -R ../../playwright/src/test/ $PROJECT_DIR /src/
1515cd $PROJECT_DIR
1616
17+ echo " Using $PW_MAX_RETRIES retries for tests"
1718mvn test --no-transfer-progress
1819
1920rm -rf $PROJECT_DIR
You can’t perform that action at this time.
0 commit comments