The early stages of a CI/CD pipeline can be used to weed out bad code. In this video, learn how a few checks in the beginning can prevent problems down the line.
- [Instructor] In the first stage of our CI/CD pipeline, … we handle linting and unit tests. … With linting, we can enforce coding standards, … like naming conventions, comments, and formatting. … It can also improve code quality … by detecting dangerous constructs like race conditions, … unused libraries, or typos in variable names. … Essentially, linting helps us catch errors … and potential problems early in the design cycle … when they're easy to debug and fix. … Unit tests are often the first tests … that are run against the project. … These tests check code functionality … at the component level, … making them useful for testing functions … before they're integrated. … And because they're run at a low level, … unit tests can expose problems … closer to where they originated, … and typically unit tests are fast running. … This means we can run them along with our other build steps … without slowing things down. … Let's take a look at how we've implemented linting … and unit tests in GitHub actions for our Python web app. …
- Creating an action
- Creating a workflow
- Adding actions to a workflow
- Using an action from a repository
- Developing a CI/CD pipeline with GitHub Actions
- Building custom actions
- Publishing an action to the GitHub Marketplace
Skill Level Beginner
1. Your First Action
Your first Action2m 31s
2. Connecting Actions with Workflows
3. Using Actions
4. Developing a CI/CD Workflow
5. Building Custom Actions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.