Fixing CI
This commit is contained in:
parent
609af979ff
commit
24249a1e74
3 changed files with 3 additions and 3 deletions
2
.github/workflows/end_to_end_tests.yml
vendored
2
.github/workflows/end_to_end_tests.yml
vendored
|
@ -30,4 +30,4 @@ jobs:
|
||||||
run: (docker-compose -f docker-compose.testcafe.yml pull &) && docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully"
|
run: (docker-compose -f docker-compose.testcafe.yml pull &) && docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully"
|
||||||
|
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe
|
run: DOCKER_UID=$(id -u) DOCKER_UID=$(id -g) docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./tests:/tests
|
- ./tests:/tests
|
||||||
- ./maps:/maps
|
- ./maps:/maps
|
||||||
user: "${UID}:${GID}"
|
user: "${DOCKER_UID}:${DOCKER_GID}"
|
||||||
|
|
||||||
# security_opt:
|
# security_opt:
|
||||||
# - seccomp:unconfined
|
# - seccomp:unconfined
|
||||||
|
|
|
@ -12,7 +12,7 @@ $ npm test
|
||||||
Alternatively, you can use docker-compose to run the tests:
|
Alternatively, you can use docker-compose to run the tests:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe
|
$ DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: by default, tests are running in Chrome locally and in Chromium in the Docker image.
|
Note: by default, tests are running in Chrome locally and in Chromium in the Docker image.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue