Skip to content

Commit

Permalink
Add README for acceptance-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok committed Jun 27, 2024
1 parent abf646b commit b302008
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: lint test static install uninstall cross
.PHONY: lint test static install uninstall cross acceptance-tests
GOPATH := $(shell go env GOPATH)
VERSION := $(shell git describe --tags --dirty --always)
BIN_DIR := $(GOPATH)/bin
Expand All @@ -14,6 +14,9 @@ lint: $(GOLINTER)
test:
go test ./... -bench=. -benchmem

acceptance-tests:
dagger call acceptance-tests --root-dir .:core-files

# Compilation
dev:
go build -ldflags "-X main.Version=dev-${VERSION}" ./cmd/tk
Expand Down
11 changes: 11 additions & 0 deletions acceptance-tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Acceptance tests

These tests aim to cover some e2e use-cases like creating a new Tanka
environment and pushing it up to an ephemeral Kubernetes cluster.

To run these, you need to have the Dagger CLI >= 0.11 installed. Then you can
execute the tests like this from the *root directory* of the project:

```
make acceptance-tests
```

0 comments on commit b302008

Please sign in to comment.