From 61c215ec1a592bc236a99ccb1f723637645b6273 Mon Sep 17 00:00:00 2001 From: Calvin Kim Date: Sat, 30 May 2026 16:47:18 +0900 Subject: [PATCH] ci: run rpctest integration tests `make build`, `make unit-cover`, and `make unit-race` all use plain `go test` without the rpctest build tag, so anything under //go:build rpctest -- the entire integration/ package outside of rpctest/, and parts of rpctest/ itself -- is not exercised by CI. Bugs that only surface under -tags=rpctest can land on master without detection. Add a test-rpctest job that runs `make unit` (which sets -tags=rpctest) so rpctest-tagged tests are part of every push and PR. --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3fb2f37a..f6394a9f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -145,3 +145,18 @@ jobs: - name: Test run: make unit-race + + test-rpctest: + name: Unit rpctest + runs-on: ubuntu-latest + steps: + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: ${{ env.GO_VERSION }} + + - name: Check out source + uses: actions/checkout@v4 + + - name: Test + run: make unit