From 7326e2a38c5255be0a96e155f4307ffb438d80d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Wed, 1 Dec 2021 14:37:36 +0100 Subject: [PATCH] Mounting Docker socket in testcafe container --- .github/workflows/end_to_end_tests.yml | 2 +- docker-compose.testcafe.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/end_to_end_tests.yml b/.github/workflows/end_to_end_tests.yml index d175d8ab..0e7e61b7 100644 --- a/.github/workflows/end_to_end_tests.yml +++ b/.github/workflows/end_to_end_tests.yml @@ -26,7 +26,7 @@ jobs: node-version: '14.x' - name: "Install dependencies" - run: yarn install + run: npm install working-directory: "tests" - name: "Setup .env file" diff --git a/docker-compose.testcafe.yml b/docker-compose.testcafe.yml index 774477a1..bbd5e5ff 100644 --- a/docker-compose.testcafe.yml +++ b/docker-compose.testcafe.yml @@ -8,5 +8,6 @@ services: volumes: - ./tests:/tests - ./maps:/maps + - /var/run/docker.sock:/var/run/docker.sock # security_opt: # - seccomp:unconfined