150 - Add dev-test nix command
All checks were successful
Build and Push Docker Image / build (push) Successful in 5m28s
All checks were successful
Build and Push Docker Image / build (push) Successful in 5m28s
This commit is contained in:
parent
945a27b54f
commit
c640d7a33a
1 changed files with 5 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ pkgs.mkShell {
|
|||
podman-compose -f $COMPOSE_FILE exec app php artisan "$@"
|
||||
}
|
||||
|
||||
dev-test() {
|
||||
podman-compose -f $COMPOSE_FILE exec -T app php -d memory_limit=512M vendor/bin/phpunit "$@"
|
||||
}
|
||||
|
||||
# ===================
|
||||
# BUILD COMMANDS
|
||||
# ===================
|
||||
|
|
@ -139,6 +143,7 @@ pkgs.mkShell {
|
|||
echo " dev-logs-db Tail database logs"
|
||||
echo " dev-shell Shell into app container"
|
||||
echo " dev-artisan <cmd> Run artisan command"
|
||||
echo " dev-test [path] Run PHPUnit suite (CI invocation)"
|
||||
echo " base-build Build and push base image"
|
||||
echo ""
|
||||
echo "Services:"
|
||||
|
|
|
|||
Loading…
Reference in a new issue