Files
query-orchestration/scripts/Taskfile.yml
T
Michael McGuinness fee71e7740 Merged in feature/postprocessing (pull request #114)
Feature/postprocessing

* tests

* passtest

* fixshorttests

* mosttests

* improvingbasedockerfile

* testspeeds

* testing

* host

* canparallel

* clean

* passfullsuite

* singlepagemax

* test

* findfeatures

* findstables

* tbls

* tablestoo

* tablestoo

* lateraltests

* tableloc

* cleanup

* inlinetable

* childids

* cleanup

* tests
2025-04-22 14:40:16 +00:00

88 lines
1.6 KiB
YAML

---
# https://taskfile.dev
version: "3"
vars:
CONTEXT: ..
OUT_DIR: out
includes:
test:
dir: "{{.CONTEXT}}"
taskfile: tests.yml
docker:
dir: "."
taskfile: docker.yml
openapi:
dir: "{{.CONTEXT}}"
taskfile: openapi-scripts.yml
compose:
dir: "{{.CONTEXT}}"
taskfile: local-deployments.yml
db:
dir: "{{.CONTEXT}}"
taskfile: database.yml
tasks:
fullsuite:
- task: build
- task: lint
- task: test:unit
- task: test:endtoend
precommit:
- task: lint:short
deps:tidy:
- go mod tidy
- go mod vendor
- go mod verify
build:
- task: deps:tidy
- task: generate
- task: docker:build
generate:clean:
run: once
deps:
- db:generate:clean
- openapi:generate
- test:mocks:generate
- docs:generate
cmds:
- go generate ./...
generate:
run: once
deps:
- db:generate
- openapi:generate
- test:mocks:generate
- docs:generate
cmds:
- go generate ./...
lint:
deps:
- generate
cmds:
- task: go:lint
- task: yaml:lint
- task: json:lint
- task: docker:lint
- task: openapi:lint
- task: db:lint
- task: compose:lint
lint:short:
deps:
- go:lint
- yaml:lint
- json:lint
- docker:lint
- openapi:lint
- compose:lint:short
go:lint: golangci-lint run --fix {{.CLI_ARGS}}
yaml:lint: yamllint . -s {{.CLI_ARGS}}
json:lint: jsonlint devbox.json -q -s -i {{.CLI_ARGS}}
docs:generate:
run: once
cmds:
- gomarkdoc --template-file file=docs/templates/root.gotxt ./cmd/...
aws:login: aws sso login