Skip to content

ci: add github actions workflow for go tests and physics tests - #6

Merged
msdemers merged 3 commits into
mainfrom
ci/test-workflow
Sep 12, 2026
Merged

msdemers merged 3 commits into
mainfrom
ci/test-workflow

Conversation

@msdemers

@msdemers msdemers commented Sep 12, 2026 •

Copy link
Copy Markdown
Owner

Why: roboremote is public and therefore requires CI. A green check on every PR is the last piece of release prep.

What: .github/workflows/ci.yml runs go test -count=1 ./... in server/ and tui/ and uv run --locked pytest in physics/ on pull requests, pushes to main, and manual dispatch.

Decisions:

  • The two Go suites are steps in one job rather than parallel jobs. They share the same toolchain and module cache, so two runners would spend more on setup than the tests take. Python gets its own job for the opposite reason.
  • cache-dependency-path: setup-go keys its cache on a root go.mod but this repo's root has none. It only has go.work, so caching would no-op silently. Instead, providing **/go.sum matches and finds go.sum in each subdirectory (server/ and tui/ for now).
  • go-version-file: go.work makes the workspace authoritative over the 1.26.3/1.26.4 skew between server/go.mod and tui/go.mod.
  • -count=1 go argument: invalidates just the run result of the go tests, forcing rerun of go tests every time, even when the source and dependencies remains cached.
  • Pinned uv version: astral-sh/setup-uv has no major tags and therefore requires an explicit tag. Pinned @v10.1.0 simply because it's currently the latest release.

@msdemers
msdemers marked this pull request as ready for review September 12, 2026 17:02
@msdemers msdemers changed the title ci: add github actions workflow for go tests ci: add github actions workflow for go tests and physics tests Sep 12, 2026
@msdemers
msdemers merged commit 627b828 into main Sep 12, 2026
2 checks passed
@msdemers
msdemers deleted the ci/test-workflow branch September 12, 2026 17:24
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