Sequential workflows example

The workflows example that we showed you previously contained two jobs that ran independent of each other, but we can also have jobs that require other jobs to finish in order to be run. Let us say that we have an acceptance test suite that only runs if the build is run, and then our application is only deployed if the acceptance test suite passes.

In our example, we run an end-to-end test using cypress.io (https://www.cypress.io/), which is an end-to-end JavaScript testing library. Assuming that our acceptance tests pass in the CI build we can then deploy  our application to Heroku. We covered getting set up with Heroku in Chapter 11, Travis CI UI Logging and Debugging, in the Heroku setup in Travis CI section, ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.