Skip to content

ci: run the test suite on pull requests - #4

Merged
chengzeyi merged 1 commit into
mainfrom
ci/run-tests-on-pull-requests
Aug 21, 2026
Merged

ci: run the test suite on pull requests#4
chengzeyi merged 1 commit into
mainfrom
ci/run-tests-on-pull-requests

Conversation

@chengzeyi

Copy link
Copy Markdown
Member

go-packages.yml runs go test -race ./..., but its on: has pull_request commented out and its job if additionally requires github.ref == 'refs/heads/main' — so even workflow_dispatch on a branch is skipped. The suite therefore only ever ran after a merge.

That is how the attemptCount data race reached main (#3): the PR that introduced it was never able to run the tests.

Adds a dedicated tests.ymlgo vet + go test -race ./... on pull requests and on main. No WAVESPEED_API_KEY is set; the suite passes without credentials (verified locally).

Workflow file only. Action SHAs match the ones already pinned in this repository.

@chengzeyi
chengzeyi merged commit 8e2de66 into main Aug 21, 2026
2 checks passed
@chengzeyi
chengzeyi deleted the ci/run-tests-on-pull-requests branch August 21, 2026 06:14
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