Skip to content

Commit

Permalink
ensure the stack is up and running when running castor up
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Jul 23, 2024
1 parent 9681569 commit 38568ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function up(
io()->title('Starting infrastructure');
}

$command = ['up', '--detach', '--no-build'];
$command = ['up', '--detach', '--wait', '--no-build'];

if ($service) {
$command[] = $service;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: castor-php/[email protected]

- name: "Build and start the infrastructure"
run: "castor start && sleep 5"
run: "castor start"

- name: "Check PHP coding standards"
run: "castor qa:cs"
Expand Down

0 comments on commit 38568ed

Please sign in to comment.