From 3f1d942d3e3deac14a756e14b4428b683938b362 Mon Sep 17 00:00:00 2001 From: Ariel Mashraki Date: Tue, 15 Oct 2019 12:28:01 -0700 Subject: [PATCH] ent/circleci: run codegen before running integration tests (#98) Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/98 Make sure templates are valid. Reviewed By: alexsn Differential Revision: D17933466 fbshipit-source-id: 70dca88cfeaa9d04f21e6a9364642f65b05c7c19 --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 77a87fc7a..9584fbd05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,6 +86,18 @@ jobs: -wait tcp://localhost:8182 - *mktestdir - getmods + - run: + name: Run codegen for entc/load + working_directory: entc/load + command: go generate + - run: + name: Run codegen for entc/gen + working_directory: entc/gen + command: go generate + - run: + name: Run codegen for entc/integration + working_directory: entc/integration + command: go generate - run: name: Run integration tests working_directory: entc/integration