Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Mar 15, 2024
1 parent 37b3db5 commit cef62e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:

- run: |
set -ex
docker compose up -d
docker compose stop
docker compose --ansi=always up -d
docker compose --ansi=always stop
no-ansi:
runs-on: ubuntu-latest

Expand Down
12 changes: 6 additions & 6 deletions castor.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function ansi_false_false()
pty: false,
tty: false,
);
run(['docker', 'compose', 'up', '-d'], context: $c);
run(['docker', 'compose', 'stop'], context: $c);
run(['docker', 'compose', '--ansi=always', 'up', '-d'], context: $c);
run(['docker', 'compose', '--ansi=always', 'stop'], context: $c);
}

#[AsTask()]
Expand All @@ -23,8 +23,8 @@ function ansi_true_false()
pty: true,
tty: false,
);
run(['docker', 'compose', 'up', '-d'], context: $c);
run(['docker', 'compose', 'stop'], context: $c);
run(['docker', 'compose', '--ansi=always', 'up', '-d'], context: $c);
run(['docker', 'compose', '--ansi=always', 'stop'], context: $c);
}

#[AsTask()]
Expand All @@ -34,8 +34,8 @@ function ansi_false_true()
pty: true,
tty: false,
);
run(['docker', 'compose', 'up', '-d'], context: $c);
run(['docker', 'compose', 'stop'], context: $c);
run(['docker', 'compose', '--ansi=always', 'up', '-d'], context: $c);
run(['docker', 'compose', '--ansi=always', 'stop'], context: $c);
}

#[AsTask()]
Expand Down

0 comments on commit cef62e9

Please sign in to comment.