From 8eeb2bd0cedde8bf355785a0be6a4a926d2be559 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Sat, 29 Jun 2024 19:35:13 -0400 Subject: [PATCH] Added e2e tests GH action, with docker compose build --- .github/workflows/e2e_tests.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index 0a3f2fa0..2f281cc5 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -73,14 +73,7 @@ jobs: # uses: ./.github/actions/setvars # with: # varFilePath: ./.github/variables/variables.env - - - - name: Debugging information - run: | - docker-compose --version - docker images ankane/pgvector:latest - docker run --rm ankane/pgvector:latest cat /usr/local/bin/docker-entrypoint.sh - + - name: Build the stack run: | @@ -94,7 +87,7 @@ jobs: #docker compose -f docker-compose.yml -f docker-compose-dev.yml build recipedb datadb server promptflow - docker compose -f docker-compose.yml up recipedb + docker compose -f docker-compose.yml up recipedb datadb - name: Run the stack @@ -112,6 +105,8 @@ jobs: docker ps echo "logs backend ..." docker-compose -f docker-compose.yml -f docker-compose-dev.yml logs server + echo "logs datadb ..." + docker-compose -f docker-compose.yml -f docker-compose-dev.yml logs datadb echo "logs recipesdb ..." docker-compose -f docker-compose.yml -f docker-compose-dev.yml logs recipedb echo "Tests ..."