How can this handle project which include unit and integration test?
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.
make test
make build
For example, you can see what Travis do: docs.travis-ci.com/user/build-stages/
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How can this handle project which include unit and integration test?
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
andmake build
, and trigger these commands at the following steps.For example, you can see what Travis do: docs.travis-ci.com/user/build-stages/