Taking exit code from the container

This commit is contained in:
David Négrier 2021-11-23 18:44:00 +01:00
parent ab337409a1
commit 0932e1de73

View File

@ -30,4 +30,4 @@ jobs:
run: docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully" run: docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully"
- name: "Run tests" - name: "Run tests"
run: UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.testcafe.yml up run: UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.testcafe.yml --exit-code-from testcafe up