mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-10-02 03:24:42 +08:00
Allow apitool to declare exemptions and enable linter during presubmit (#1274)
Allow the `apitool validate` linter to define exemptions, then add exemptions for current validation errors, and then enable this as part of presubmit (GH action).
This commit is contained in:
@@ -37,6 +37,10 @@ jobs:
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
- run: go test -race -v ./...
|
||||
# tools/apitool has its own module so we need to run it explicitly.
|
||||
- name: apitool tests
|
||||
working-directory: tools/apitool
|
||||
run: go test -race -v ./...
|
||||
# Root-gated tests (overlay mounts, whiteout mknod, trusted.* xattrs, ...)
|
||||
# skip for the unprivileged runner user above; rerun the packages that
|
||||
# contain them (any test importing internal/roottest) under sudo.
|
||||
|
||||
Reference in New Issue
Block a user