Skip to content

Add CI workflow to run tests on every pull request#18

Merged
MikeWills merged 1 commit into
masterfrom
ci/add-pr-test-workflow
Jul 8, 2026
Merged

Add CI workflow to run tests on every pull request#18
MikeWills merged 1 commit into
masterfrom
ci/add-pr-test-workflow

Conversation

@MikeWills

Copy link
Copy Markdown
Owner

Summary

  • New .github/workflows/ci.yml runs dotnet build + dotnet test on every pull request (and on push to master) — closes the gap where tests only ran in deploy.yml, meaning a broken PR could merge with no automated signal until it had already landed and the deploy failed afterward.
  • Independent of deploy.yml, which keeps its own test step as a deploy-time safety net and also gives a clean "tests pass" signal separate from deployment-specific failures (Tailscale/SSH issues, etc.) that would otherwise show up as a red X on the same check.
  • This PR is itself the first real exercise of the new workflow — check its own status below.

Test plan

  • Verified the exact dotnet restore/build --configuration Release/test --no-build --configuration Release commands the workflow runs succeed locally (83/83 tests passing)
  • Validated the YAML with a parser
  • Confirm the ci.yml check actually appears and passes on this PR (self-verifying)

Optional follow-up: enable a branch protection rule on master requiring the CI / test check to pass before merging, so this becomes an enforced gate rather than just a visible signal.

Previously the only place dotnet test ran was inside deploy.yml, on
push to master -- meaning a broken PR could merge with no automated
signal, only discovered afterward when deploy.yml failed on master.
This adds a dedicated ci.yml that runs build+test on pull_request (and
push to master, for a clean pass/fail signal independent of
deploy.yml's deployment-specific concerns like Tailscale/SSH). Leaves
deploy.yml's own test step in place as a deploy-time safety net.

Verified the exact restore/build/test commands the workflow runs
succeed locally against Release configuration (83/83 tests passing).
@MikeWills
MikeWills merged commit 28cd0d9 into master Jul 8, 2026
2 checks passed
@MikeWills
MikeWills deleted the ci/add-pr-test-workflow branch July 9, 2026 12:10
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