Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Python Continuous Integration and Deployment Using GitHub Actions (Summary)

You now know how to implement a robust CI/CD pipeline for a Python project using GitHub Actions. While the goal of this video course was for you to learn how to add CI/CD to an existing codebase, hopefully you now know enough to work with your own projects and packages and create your own workflows from scratch.

In this video course, you learned how to:

  • Use GitHub Actions and workflows
  • Automate linting, testing, and deployment of a Python project
  • Secure credentials used for automation
  • Automate security and dependency updates
Download

Course Slides (.pdf)

4.6 MB
Download

Sample Code (.zip)

9.2 KB

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

00:00 Congratulations, you made it to the last lesson of this course. In this course, you started by setting up a Git project. You pulled the code and pushed the code to make sure that everything works, and then you built and polished your first workflow.

00:14 After that, you learned a little bit about other GitHub Actions, specifically the checkout and the setup Python action, which then you use to use Python in your workflow.

00:25 There, you first investigated the Python version that Ubuntu uses, and then you used setup Python to be very specific about the Python version to use in your workflows.

00:36 And then finally, you created an automated testing pipeline with pytest to make sure that your code is tested every time you push your code to GitHub.

00:47 This video course is based on the tutorial, Continuous Integration and Deployment for Python With GitHub Actions. And while the tutorial covers some parts that the video course also covered, the tutorial goes way deeper.

01:00 So if you are curious how to automatically publish packages on PyPI using GitHub Actions, then I recommend giving this tutorial a read. If you want to dive deeper into Git and GitHub, then you can hop over to Introduction to Git and GitHub for Python Developers, where you learn more about Git and GitHub.

01:20 GitHub Actions workflow files are based on YAML, so if YAML feels a little bit weird to you like it does sometimes to me, then YAML: The Missing Battery in Python, is an incredibly nice read to dive deeper and get all the explanations that I wasn’t able to give in this video course.

01:39 And last but not least, with the testing part in this video course, we only scratched the surface. So if you want to build a bunch of tests to bulletproof your code when you push it, then Getting Started With Testing In Python is a great tutorial to read after this video course.

01:56 And that’s a wrap. Thank you so much for watching this video course. See you next time at realpython.com.

Become a Member to join the conversation.