From the course: Learning GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Solution: Develop a CI/CD pipeline for a Python script - GitHub Tutorial
From the course: Learning GitHub Actions
Solution: Develop a CI/CD pipeline for a Python script
(upbeat music) - [Instructor] Let's start our solution to this challenge by creating a new repository. I'm logged into my GitHub account, and I'm at github.com/new, where I can create a new repository. For the repository name, I'll use pipeline. And I'll go ahead and add the optional description, and I'll say create a Python pipeline. I'll leave it as public, and I will add a readme file, and then I'll click create repository. Now that we have our repository, we can start adding files to it directly from the web interface, and I'll click add file, create new file. The first file we need to add is our Python script, and this is just a simple one-line Python script that prints hello world. So I'll name it hello.py, and for the one line, I'll add print, open parentheses, and in quotes, hello comma world, and then close that out. And then at the bottom of the screen, I'll scroll down and click commit new file to add this…
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)
-
-