We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c527b1a commit 1006be9Copy full SHA for 1006be9
1 file changed
.github/workflows/scenario-integration-tests.yml
@@ -61,8 +61,9 @@ jobs:
61
- name: Run Scenario Tests
62
if: steps.check-if-scenarios-or-src-changed.outputs.run_tests != 'false'
63
run: |
64
- # Build the docker image for testing
65
- docker build -t acapy-test -f docker/Dockerfile.run .
66
- cd scenarios
67
- poetry install --no-root
68
- poetry run pytest -m examples
+ set -e # Fail fast
+ for compose_file in $(find scenarios -name 'docker-compose.yml'); do
+ echo "Running tests for: $compose_file"
+ docker compose -f "$compose_file" up --build --abort-on-container-exit --exit-code-from controller
+ docker compose -f "$compose_file" down -v
69
+ done
0 commit comments