From e696e5ed7ec622230da5128b760109b450a57d61 Mon Sep 17 00:00:00 2001 From: Albin Antony Date: Tue, 28 Nov 2023 12:31:16 +0530 Subject: [PATCH] Add #51 Dockerise gherkin tests --- test/gherkin/Dockerfile | 11 +++++++++++ test/gherkin/docker-compose.yaml | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 test/gherkin/Dockerfile create mode 100644 test/gherkin/docker-compose.yaml diff --git a/test/gherkin/Dockerfile b/test/gherkin/Dockerfile new file mode 100644 index 0000000..98e2b49 --- /dev/null +++ b/test/gherkin/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.8 + +COPY requirements.txt /requirements.txt + +RUN pip install -r /requirements.txt + +COPY . /tests + +WORKDIR /tests/ + +CMD ["behave"] \ No newline at end of file diff --git a/test/gherkin/docker-compose.yaml b/test/gherkin/docker-compose.yaml new file mode 100644 index 0000000..3bd138b --- /dev/null +++ b/test/gherkin/docker-compose.yaml @@ -0,0 +1,9 @@ +version: '3.3' + +services: + gherkin-tests: + image: gherkin-tests + build: + context: . + + network_mode: host \ No newline at end of file