ADDED - test gate: pre-push hook, copy-paste summary, make targets, mandatory-tests rule, CI test step

This commit is contained in:
MOH
2026-08-06 20:03:37 +02:00
parent 9c40d9030f
commit e377877e7e
5 changed files with 150 additions and 1 deletions
+9 -1
View File
@@ -1,4 +1,4 @@
.PHONY: start stop restart deploy logs build ps port health clean-orphans app-shell db-shell db-init db-migrate db-seed prisma-generate prisma-migrate help
.PHONY: start stop restart deploy logs build ps port health clean-orphans app-shell db-shell db-init db-migrate db-seed prisma-generate prisma-migrate test test-watch help
MIGRATION_NAME ?= init
@@ -46,6 +46,12 @@ db-migrate:
db-seed:
docker compose exec app npx prisma db seed
test:
@node scripts/test-summary.mjs
test-watch:
npm run test:watch
prisma-generate:
docker compose exec app npx prisma generate
@@ -74,3 +80,5 @@ help:
@echo " make prisma-generate Run prisma generate"
@echo " make prisma-migrate Create/apply dev migration"
@echo " make health Check app health endpoint via public domain"
@echo " make test Run the whole test suite + print a copy-paste summary"
@echo " make test-watch Run the test suite in watch mode"