Test generate handlers

This commit is contained in:
Andrea Maria Piana 2023-08-28 10:58:40 +01:00
parent 38415849cd
commit 9a1443d716
2 changed files with 3 additions and 0 deletions

View File

@ -273,6 +273,8 @@ install-release: ##@install Install Github Release Tools
install-xtools: ##@install Install Miscellaneous Go Tools
GO111MODULE=on go install golang.org/x/tools/go/packages/...@v0.1.5
generate-handlers:
go generate ./_assets/generate_handlers/
generate: ##@other Regenerate assets and other auto-generated stuff
go generate ./static ./static/mailserver_db_migrations ./t ./multiaccounts/... ./appdatabase/... ./protocol/... ./walletdatabase/... ./_assets/generate_handlers

View File

@ -75,6 +75,7 @@ pipeline {
'--env=POSTGRES_HOST_AUTH_METHOD=trust',
'--publish=5432:5432',
].join(' ')) { c ->
nix.shell('make generate-handlers', pure: true)
nix.shell('make test-unit V=1', pure: false)
}
} }