From 2883d6e5585796b8c0344e8ba908d272354dafca Mon Sep 17 00:00:00 2001 From: hatim boufnichel Date: Sat, 6 Apr 2024 00:14:53 +0200 Subject: [PATCH] up --- .github/workflows/test.yaml | 3 +++ src/tests/docker-compose.yml | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2e0d136b4..e296b3032 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,5 +5,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Build the image + run: docker build -t my-image ./src/tests + steps: - name: Build the stack run: docker-compose --project-directory ./ -f src/tests/docker-compose.yml up -d \ No newline at end of file diff --git a/src/tests/docker-compose.yml b/src/tests/docker-compose.yml index cedbba014..d02fb31b9 100644 --- a/src/tests/docker-compose.yml +++ b/src/tests/docker-compose.yml @@ -107,9 +107,7 @@ services: - '10004:10009' - '9738:9735' lpub: - image: lpub - build: - context: ./src/tests + image: my-image depends_on: - backend1 - alice