This repository has been archived on 2025-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
miniauthold/Makefile
kekskurse 548266fe9d
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/playwright unknown status
ci/woodpecker/push/deplyoment unknown status
chore: go mod
2025-05-25 20:43:52 +02:00

13 lines
497 B
Makefile

dev-init:
docker-compose -f docker-compose-dev.yml up
sh ./db.sh
dev-run:
USERSTORE_SQLITE_PATH="file:test.db" SMTP_SERVER="localhost" SMTP_PORT="1025" SMTP_FROM="test@example.com" WEB_PUBLIC_REGISTRATION=1 MINIAUTH_LOGIN_WITH_NOT_APPROVED_MAIL=1 go run ./
test:
go test ./...
DUMMY_DATABASE=1 SMTP_SERVER=test WEB_PUBLIC_REGISTRATION=1 MINIAUTH_LOGIN_WITH_NOT_APPROVED_MAIL=1 go run ./ &
PID=$$!
trap 'echo "Stoppe $$PID"; kill $$PID' EXIT INT TERM
cd playwright; npx playwright test