mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-01-11 05:01:26 +08:00
This is the initial version of our E2E test suite which is currently a subset of the acceptance test suite reimplemented in Go. To run it, pass `-run ^TestE2E$` to `go test`, without `-short`, like `go test -timeout 600s -run ^TestE2E$ github.com/actions-runner-controller/actions-runner-controller/test/e2e -v`. `make test` is modified to pass `-short` to `go test` by default to skip E2E tests. The biggest benefit of rewriting the acceptance test in Go turned out to be the fact that you can easily rerun each step- a go-test "subtest"- individually from your IDE, for faster turnaround. Both VS Code and IntelliJ IDEA/GoLand are known to work. In the near future, we will add more steps to the suite, like actually git-comminting some Actions workflow and pushing some commit to trigger a workflow run, and verify the workflow and job run results, and finally run it on our `test` workflow to fully automated E2E testing. But that s another story.
34 lines
425 B
Plaintext
34 lines
425 B
Plaintext
# Deploy Assets
|
|
release
|
|
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
bin
|
|
|
|
# Test binary, build with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
# Kubernetes Generated files - skip generated files, except for vendored files
|
|
!vendor/**/zz_generated.*
|
|
|
|
# editor and IDE paraphernalia
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
.envrc
|
|
.env
|
|
.test.env
|
|
*.pem
|
|
|
|
# OS
|
|
.DS_STORE
|