DEV Community

Discussion on: Configurable Artifacts: How To Deploy Like a Pro

Collapse
 
e3we profile image
Yi Chuan

How can this handle project which include unit and integration test?

Collapse
 
kmaschta profile image
Kmaschta

On majors CI/CD, you can isolate tests from the build.
By default, they run the build phase if the tests pass.

Hence, you can have two commands make test and make build, and trigger these commands at the following steps.

For example, you can see what Travis do: docs.travis-ci.com/user/build-stages/