From the course: Learning GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Testing - GitHub Tutorial
From the course: Learning GitHub Actions
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Plan your CI/CD pipeline1m 53s
-
(Locked)
Linting and unit tests2m 7s
-
(Locked)
Building and managing artifacts3m 4s
-
(Locked)
Testing1m 44s
-
(Locked)
Deploying1m 38s
-
(Locked)
Add a workflow status badge1m 7s
-
(Locked)
Challenge: Develop a CI/CD pipeline for a Python script57s
-
(Locked)
Solution: Develop a CI/CD pipeline for a Python script7m 40s
-
(Locked)
-
-