From 912a55419523127370caa3535811e47a645e2138 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Sat, 29 Jun 2024 17:51:17 -0400 Subject: [PATCH] Added e2e tests GH action, with docker compose build --- .github/workflows/e2e_tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index 4243090b..cd9a1341 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -78,17 +78,15 @@ jobs: run: | env > .env docker buildx create --use --driver=docker-container - docker buildx bake -f ./docker-compose.yml --set *.cache-to="type=gha,mode=max" --set *.cache-from="type=gha" --load --set *.platform=linux/amd64 + docker buildx bake -f ./docker-compose.yml -f docker-compose-dev.yml --set *.cache-to="type=gha,mode=max" --set *.cache-from="type=gha" --load --set *.platform=linux/amd64 recipedb datadb server promptflow - name: Run the stack run: | env > .env - #docker-compose -f docker-compose.yml -f docker-compose-dev.yml up -d - docker compose -f docker-compose.yml -f docker-compose-dev.yml build recipedb datadb server promptflow docker compose -f docker-compose.yml -f docker-compose-dev.yml start recipedb datadb server promptflow docker ps - - name: Self tests (Integration) + - name: End to End tests using Promtpflow and chainlit code run: | set -e if [ $(uname -s) = "Linux" ]; then