Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jul 10, 2023
1 parent 87d1e55 commit 71bfa8b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,26 @@ jobs:
- uses: actions/checkout@v2
- name: Starting MIW, Keycloak and Postgres Servers
run: |
cd edc-tests/e2e-tests/src/test/resources/docker-environment
docker compose -f edc-tests/e2e-tests/src/test/resources/docker-compose.yml up --wait
- name: Run MIW E2E tests
run: |
pwd
./gradlew -p edc-tests/e2e-tests test -DincludeTags="MiwIntegrationTest"
miw-integration-tests:
runs-on: ubuntu-latest
continue-on-error: true
needs: [ verify-formatting, verify-license-headers ]

steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-java

- uses: actions/checkout@v2
- name: Starting MIW, Keycloak and Postgres Servers
run: |
cd edc-tests/miw-tests/src/test/resources/docker-environment
docker compose up --wait
- uses: nick-fields/retry@v2
Expand All @@ -216,9 +235,9 @@ jobs:
- name: Seed test data
run: |
docker exec -i docker-environment-keycloak-1 /opt/seed.sh
docker exec docker-environment-postgres-1 /opt/seed.sh
- name: Run MIW E2E tests
run: |
pwd
./gradlew test -DincludeTags="MiwIntegrationTest"
./gradlew -p edc-tests/miw-tests test -DincludeTags="MiwIntegrationTest"
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
postgres:
image: postgres:15.3-alpine3.18
volumes:
- ./postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql/data
- ./postgres/db.sh:/docker-entrypoint-initdb.d/init-database.sh
- ./postgres/seed.sh:/opt/seed.sh
env_file:
Expand Down

0 comments on commit 71bfa8b

Please sign in to comment.