From the course: Learning GitHub Actions

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Testing

Testing

- [Instructor] Now that the build step is complete, we have an image sitting in the container registry waiting to be tested. All of the tests at this stage of our pipeline will be completely automated. This will help us improve our deployment velocity since our tests will be run and validated without human interaction. Our pipeline would definitely be slowed down if we had to wait for someone to manually download our image and test it locally. And since our pipeline will be running tests, with each push to the repository, we're continuously checking for errors or anything else that might have gone wrong since the last code update. Having tests at this stage in our pipeline is also important because this is the final gate before we push our image to production. I've updated our workflow with a job to test the image. It has a dependency on the build_image job, so it'll wait for that job to successfully complete before it…

Contents