Skip to content

Commit d795da6

Browse files
authored
tests: fix Docker tests (#1274)
1 parent 4d69bdb commit d795da6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test_docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- name: Test
3737
run: |
3838
CONTAINER_ID="$(docker run --rm -v $(pwd):/root/playwright --name playwright-docker-test --workdir /root/playwright/ -d -t playwright-python:localbuild-focal /bin/bash)"
39+
# Fix permissions for Git inside the container
40+
docker exec "${CONTAINER_ID}" chown -R root:root /root/playwright
3941
docker exec "${CONTAINER_ID}" pip install -r local-requirements.txt
4042
docker exec "${CONTAINER_ID}" pip install -e .
4143
docker exec "${CONTAINER_ID}" python setup.py bdist_wheel

0 commit comments

Comments
 (0)