Skip to content

Automated Testing#62

Open
tylercunnion wants to merge 23 commits into
mainfrom
tyler/test-automation
Open

Automated Testing#62
tylercunnion wants to merge 23 commits into
mainfrom
tyler/test-automation

Conversation

@tylercunnion

@tylercunnion tylercunnion commented Jun 24, 2026

Copy link
Copy Markdown

What was changed

Adds automated testing on main and PR branches.

Linting

Adds a golangci-lint configuration synthesized from other core repos in the organization. Linters run only on code changed within the instant pull request. Linters do not run on the main branch.

Unit Testing

Unit tests run on all PR and main builds.

We collect but do not currently do anything with code coverage data. In the future we may want to integrate with Codecov, in line with some of our other projects.

Integration Testing

Integration tests use the server test environment from the OSS server repo, with the WCI component injected in. Integration tests are run against both the pinned version of the server (as defined in go.mod) as well as the current main branch (these are advisory and will not fail the build).

Currently the only defined integration test is a simple smoke test to ensure we can create a worker deployment version, this will be expanded in future work.

Integration tests live in a nested submodule for dependency separation etc; there is a CI job configured to enforce that the versions defined in the respective go.mod files for the go language version as well as the temporal server versions stay in sync. This check will fail the build, in order to prevent drift.

Why?

Enforces code standards as well as ensuring ongoing validation for the codebase.

@tylercunnion tylercunnion marked this pull request as ready for review June 25, 2026 21:15
@tylercunnion tylercunnion requested a review from a team as a code owner June 25, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant