Skip to content

add integration tests - #89

Open
katbyte wants to merge 5 commits into
mainfrom
kt/integration-tests
Open

add integration tests#89
katbyte wants to merge 5 commits into
mainfrom
kt/integration-tests

Conversation

@katbyte

@katbyte katbyte commented Jul 27, 2026

Copy link
Copy Markdown
Owner

No description provided.

katbyte and others added 5 commits July 27, 2026 14:45
Conflict resolutions and integration fixes:
- test.yaml: kept branch's path filters, took main's checkout/setup-go@v7 with go-version-file
- makefile: kept branch's split unit/integration test target, added main's -race flag to both
- lib/gh, lib/tc: kept branch's APIURL/RawURL/baseURL overrides, adopted main's named results
  and http.MethodPost (main's lint enforces unnamedResult)
- lib/gh/gh.go: reworked APIURL override for go-github v89's option-based client construction
  (BaseURL is no longer an assignable field) using github.WithURLs at client creation
- test harness: pass openPRs via newMockGitHub so the write happens before the mock server
  starts; fixes a data race found by main's new -race test flag
- .golangci.yml: exclude _test.go from goconst (table-driven tests repeat literals by design)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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