File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -375,6 +375,19 @@ jobs:
375375 - name : Check coverage against baseline
376376 run : ./coverage-check
377377
378+ # Run unit tests for the custom Go linters
379+ linter-tests :
380+ runs-on : ubuntu-24.04
381+ steps :
382+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
383+ with :
384+ persist-credentials : false
385+ - uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
386+ with :
387+ go-version : " 1.25.10"
388+ - name : Run custom linter tests
389+ run : make -C linters test
390+
378391 # Run Rust lints and tests
379392 rust-lint-and-tests :
380393 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change @@ -53,14 +53,11 @@ $(BIN)/guardiand: dirs generate
5353 github.com/certusone/wormhole/node
5454
5555.PHONY : test-coverage
56- # # Run tests with coverage for node, sdk, and the custom linters (matches CI)
56+ # # Run tests with coverage for node, and sdk
5757test-coverage :
58- @echo " Running tests with coverage for node, sdk, and linters ..."
58+ @echo " Running tests with coverage for node, and sdk ..."
5959 @set -o pipefail && (cd node && go test -count=1 -v -timeout 5m -race -cover ./...) 2>&1 | tee coverage.txt
6060 @set -o pipefail && (cd sdk && go test -count=1 -v -timeout 5m -race -cover ./...) 2>&1 | tee -a coverage.txt
61- @for mod in $$(find linters -name go.mod ) ; do \
62- set -o pipefail && (cd $$ (dirname $$ mod) && go test -count=1 -v -timeout 5m -race -cover ./...) 2>&1 | tee -a coverage.txt || exit $$? ; \
63- done
6461
6562.PHONY : test-fast
6663# # Run fast tests for node and sdk, skipping tests gated by testing.Short() and fuzz smoke tests
You can’t perform that action at this time.
0 commit comments