Skip to content

Commit

Permalink
Added e2e tests GH action, with docker compose build
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed Jun 29, 2024
1 parent aaf566a commit 8eeb2bd
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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 ..."
Expand Down

0 comments on commit 8eeb2bd

Please sign in to comment.