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
This commit is contained in:
Ariel Mashraki
2019-10-15 12:28:01 -07:00
committed by Facebook Github Bot
parent c5b790043c
commit 3f1d942d3e

View File

@@ -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