1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
version: "3"
dotenv:
- ".env"
includes:
migrate: ./migrations/Taskfile.yml
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
tasks:
run:
- docker compose up -d --build --remove-orphans core mailer
lint:
- golangci-lint run
docker:up:
- docker compose up -d --build --remove-orphans
docker:down:
aliases: [docker:stop]
cmds:
- docker compose stop
test:
- task: test:unit
- task: test:e2e
test:unit:
- go test --count=1 -v --short ./...
test:e2e:
- go test --count=1 -v ./e2e/
|