From 9a1443d716a14e9ca72862457d395b23320b767f Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Mon, 28 Aug 2023 10:58:40 +0100 Subject: [PATCH] Test generate handlers --- Makefile | 2 ++ _assets/ci/Jenkinsfile.tests | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index d8a328f68..db3a52276 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/_assets/ci/Jenkinsfile.tests b/_assets/ci/Jenkinsfile.tests index e90078491..44e098997 100644 --- a/_assets/ci/Jenkinsfile.tests +++ b/_assets/ci/Jenkinsfile.tests @@ -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) } } }