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:
36
36
bash utils/docker/build.sh --$ARCH ${{ matrix.flavor }} playwright-java:localbuild-${{ matrix.flavor }}
37
37
- name : Start container
38
38
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)
40
40
echo "CONTAINER_ID=$CONTAINER_ID" >> $GITHUB_ENV
41
41
42
42
- name : Run test in container
43
43
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
45
45
46
46
- name : Test ClassLoader
47
47
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
49
49
50
50
- name : Stop container
51
51
run : |
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ cp -R ../../driver-bundle/src/test/ $PROJECT_DIR/src/
14
14
cp -R ../../playwright/src/test/ $PROJECT_DIR /src/
15
15
cd $PROJECT_DIR
16
16
17
+ echo " Using $PW_MAX_RETRIES retries for tests"
17
18
mvn test --no-transfer-progress
18
19
19
20
rm -rf $PROJECT_DIR
You can’t perform that action at this time.
0 commit comments