Skip to content

Commit

Permalink
fix: another attempt to get the database-migrator-test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
devx247 committed Jan 21, 2025
1 parent 2df11a5 commit 5829632
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,15 @@ jobs:
run: |
docker compose -f ./.ci/compose.test.yml -f ./.ci/compose.test.${{matrix.database}}.yml down -v
docker compose -f ./.ci/compose.test.yml -f ./.ci/compose.test.${{matrix.database}}.yml up --no-build --wait -d || true
docker compose -f ./.ci/compose.test.yml -f ./.ci/compose.test.${{matrix.database}}.yml logs database-migrator-test
docker compose -f ./.ci/compose.test.yml -f ./.ci/compose.test.${{matrix.database}}.yml wait admin-cli
docker compose -f ./.ci/compose.test.yml -f ./.ci/compose.test.${{matrix.database}}.yml logs database-migrator-test
docker ps -a
CONTAINER_ID=$(docker ps -q -f name=database-migrator-test)
if [ -n "$CONTAINER_ID" ]; then
docker logs $CONTAINER_ID
else
echo "No container found with name database-migrator-test"
fi
- name: Run integration tests
run: dotnet test --no-restore --no-build --logger "GitHubActions;summary.includeNotFoundTests=false;summary.includeSkippedTests=false;summary.includePassedTests=false" ${{matrix.test-project.path}}
Expand Down

0 comments on commit 5829632

Please sign in to comment.