Adding tests

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
dubo-dubon-duponey
2021-01-14 13:50:54 -08:00
parent 9338d10a04
commit e301dfa7b1
33 changed files with 761 additions and 1 deletions

View File

@@ -22,3 +22,10 @@ lint: generate cuefmt
golangci-lint run
@test -z "$$(git status -s . | grep -e "^ M" | grep .cue | cut -d ' ' -f3 | tee /dev/stderr)"
@test -z "$$(git status -s . | grep -e "^ M" | grep gen.go | cut -d ' ' -f3 | tee /dev/stderr)"
.PHONY: integration
integration: dagger
# Self-diagnostics
./examples/tests/test-test.sh 2>/dev/null
# Actual integration tests
./examples/tests/test.sh all