Skip to content

Commit

Permalink
Merge pull request #953 from nextcloud/fix/noid/integration-test-dock…
Browse files Browse the repository at this point in the history
…er-compose

Fix integration tests sometimes not finding docker-compose
  • Loading branch information
julien-nc authored Sep 26, 2024
2 parents 0382ca4 + b09cfb6 commit a3f3fb5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ jobs:
path: apps/${{ env.APP_NAME }}

- name: Start keycloak
run: docker-compose -f "docker-compose.integration.yml" up -d --build
run: |
docker-compose -f "docker-compose.integration.yml" up -d --build \
|| docker compose -f "docker-compose.integration.yml" up -d --build
working-directory: apps/${{ env.APP_NAME }}/tests/

- name: Set up php ${{ matrix.php-versions }}
Expand Down Expand Up @@ -130,5 +132,7 @@ jobs:

- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.integration.yml" down
run: |
docker-compose -f "docker-compose.integration.yml" down \
|| docker compose -f "docker-compose.integration.yml" down
working-directory: apps/${{ env.APP_NAME }}/tests/

0 comments on commit a3f3fb5

Please sign in to comment.