Trying to fix issue with Github rights
This commit is contained in:
parent
3aec774cf3
commit
ab337409a1
5
.github/workflows/end_to_end_tests.yml
vendored
5
.github/workflows/end_to_end_tests.yml
vendored
@ -26,5 +26,8 @@ jobs:
|
||||
- name: "Start environment"
|
||||
run: docker-compose up -d
|
||||
|
||||
- name: "Wait for environment to build"
|
||||
run: docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully"
|
||||
|
||||
- name: "Run tests"
|
||||
run: docker-compose -f docker-compose.testcafe.yml up
|
||||
run: UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.testcafe.yml up
|
||||
|
@ -7,7 +7,8 @@ services:
|
||||
BROWSER: "chromium --use-fake-device-for-media-stream"
|
||||
volumes:
|
||||
- ./tests:/tests
|
||||
- ./tests/.testcaferc.json:/.testcaferc.json
|
||||
- ./maps:/maps
|
||||
user: "${UID}:${GID}"
|
||||
|
||||
# security_opt:
|
||||
# - seccomp:unconfined
|
||||
|
@ -12,7 +12,7 @@ $ npm test
|
||||
Alternatively, you can use docker-compose to run the tests:
|
||||
|
||||
```console
|
||||
$ docker-compose -f docker-compose.testcafe.yml up
|
||||
$ UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.testcafe.yml up
|
||||
```
|
||||
|
||||
Note: by default, tests are running in Chrome locally and in Chromium in the Docker image.
|
||||
|
Loading…
Reference in New Issue
Block a user