Skip to content

Commit

Permalink
test: fixes docker script
Browse files Browse the repository at this point in the history
Signed-off-by: Allain Magyar <allain.magyar@iohk.io>
  • Loading branch information
amagyar-iohk committed Oct 31, 2024
1 parent 45feabc commit 0781e3b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ jobs:
run: |
./gradlew test --tests "IntegrationTestsRunner"
- name: Run didcomm tests
working-directory: "tests/didcomm-tests"
env:
AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.agent_version }}
run: |
./docker/run.sh "$AGENT_VERSION"
node dist/suite.spec.js
./docker/stop.sh
- name: Make report of integration tests
if: always()
env:
Expand Down Expand Up @@ -168,3 +159,12 @@ jobs:
SLACK_TITLE: "Identus Cloud Agent Integration Tests: ${{ steps.analyze_test_results.outputs.conclusion }}"
SLACK_USERNAME: circleci
SLACK_WEBHOOK: ${{ secrets.E2E_TESTS_SLACK_WEBHOOK }}

- name: Run didcomm tests
working-directory: "tests/didcomm-tests"
env:
AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.agent_version }}
run: |
./docker/run.sh "$AGENT_VERSION"
node dist/suite.spec.js
./docker/stop.sh
2 changes: 1 addition & 1 deletion tests/didcomm-tests/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ CLOUD_AGENT_VERSION=$1
PORT="$PRISM_PORT" \
CLOUD_AGENT_VERSION="$CLOUD_AGENT_VERSION" \
docker compose \
-f "docker-compose.yml" \
-f "docker/docker-compose.yml" \
up -d --wait
2 changes: 1 addition & 1 deletion tests/didcomm-tests/docker/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ set -e

CLOUD_AGENT_VERSION="$CLOUD_AGENT_VERSION" \
docker compose \
-f "docker-compose.yml" \
-f "./docker/docker-compose.yml" \
down -v

0 comments on commit 0781e3b

Please sign in to comment.