From the course: Learning GitHub Actions

Unlock the full course today

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

Challenge: Develop a CI/CD pipeline for a Python script

Challenge: Develop a CI/CD pipeline for a Python script - GitHub Tutorial

From the course: Learning GitHub Actions

Challenge: Develop a CI/CD pipeline for a Python script

(upbeat playful music) - [Instructor] Let's pause here for a challenge. In this challenge you'll create a two-stage CI/CD pipeline for a Python script. You'll start the challenge by creating a new repo that holds a simple Python script. All it needs to do is print "Hello, world." Then you'll create a workflow that's triggered by a push to the repo. The workflow should contain two jobs. The first job should check out the repository and test the script by running it with a Python command. The second job should have a dependency on the first job. If the first job completes successfully, the second job should check out the repository and create an artifact. This challenge should take about 15 minutes to complete. Once you've got your CI/CD pipeline in place, join me in the next video to review the solution.

Contents