-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: compose is a docker plugin now (#857)
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,26 +32,26 @@ jobs: | |
- name: Run docker-compose setup | ||
env: | ||
DATABASE_IMAGE_NAME: ${{ matrix.databaseImageName }} | ||
run: docker-compose -f docker-compose.yml -f docker-compose.integration.yml up -d | ||
run: docker compose -f docker-compose.yml -f docker-compose.integration.yml up -d | ||
|
||
- name: Setup - Keep trying to install the DBs (try for 30 seconds) | ||
uses: nick-invision/[email protected] | ||
with: | ||
max_attempts: 30 | ||
retry_wait_seconds: 1 | ||
timeout_seconds: 30 | ||
command: docker-compose exec -T api php artisan migrate:fresh | ||
command: docker compose exec -T api php artisan migrate:fresh | ||
|
||
- name: Setup - Other things | ||
run: | | ||
docker-compose exec -T api php artisan key:generate | ||
docker compose exec -T api php artisan key:generate | ||
- name: PHPUnit | ||
run: docker-compose exec -e APP_ENV=testing -T api vendor/bin/phpunit | ||
run: docker compose exec -e APP_ENV=testing -T api vendor/bin/phpunit | ||
- name: Psalm | ||
run: docker-compose exec -T api vendor/bin/psalm | ||
run: docker compose exec -T api vendor/bin/psalm | ||
|
||
- name: Run elasticsearch index deletion integration test | ||
run: docker-compose exec -e RUN_PHPUNIT_INTEGRATION_TEST=1 -e ELASTICSEARCH_HOST=elasticsearch.svc:9200 -T api vendor/bin/phpunit tests/Jobs/Integration/ElasticSearchIndexDeleteTest.php | ||
run: docker compose exec -e RUN_PHPUNIT_INTEGRATION_TEST=1 -e ELASTICSEARCH_HOST=elasticsearch.svc:9200 -T api vendor/bin/phpunit tests/Jobs/Integration/ElasticSearchIndexDeleteTest.php | ||
- name: Run blazegraph integration test | ||
run: docker-compose exec -e RUN_PHPUNIT_INTEGRATION_TEST=1 -T api vendor/bin/phpunit tests/Jobs/Integration/QueryserviceNamespaceJobTest.php | ||
run: docker compose exec -e RUN_PHPUNIT_INTEGRATION_TEST=1 -T api vendor/bin/phpunit tests/Jobs/Integration/QueryserviceNamespaceJobTest.php |