Loading video player…

Python Continuous Integration and Deployment Using GitHub Actions (Overview)

Creating software is an achievement worth celebrating. But software is never static. Bugs need to be fixed, features need to be added, and security demands regular updates. In today’s landscape, with agile methodologies dominating, robust DevOps systems are crucial for managing an evolving codebase. That’s where GitHub Actions shine, empowering Python developers to automate workflows and ensure their projects adapt seamlessly to change.

GitHub Actions for Python empowers developers to automate workflows efficiently. This enables teams to maintain software quality while adapting to constant change.

Continuous Integration and Continuous Deployment (CI/CD) systems help produce well-tested, high-quality software and streamline deployment. GitHub Actions makes CI/CD accessible to all, allowing automation and customization of workflows directly in your repository. This free service enables developers to execute their software development processes efficiently, improving productivity and code reliability.

In this video course, you’ll learn 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

00:00 Hi, I am Philipp. Welcome to Getting Started With GitHub Actions, where I try to help you get started with GitHub Actions. As a Python developer, you may have heard of CI/CD. CI/CD stands for Continuous Integration and Continuous Development.

00:17 And these systems help you to produce high-quality software and streamline development. In other words, when you are using CI/CD systems, you are building workflows that perform actions like testing your app every time you push the code to a remote repository, making sure that everything works as it should.

00:35 And having such a CI/CD pipeline can really help you so that you don’t deploy a web application, for example, when there are errors. That’s very important when multiple developers work on an application.

00:47 But even when you’re working alone, having a CI/CD pipeline can help you to be sure everything works as you want it to work. There are multiple providers for CI/CD services, but if you get started, GitHub Actions is a great starting point.

01:02 GitHub Actions is free and conveniently integrated into GitHub. So if you have a GitHub account, then you’re just a few steps away from using GitHub Action workflows in your own projects.

01:13 What exactly are these steps? Well, that’s what you will learn in this course. You will start by setting up a Git project, and then build and polish your first workflow.

01:23 You will leverage existing GitHub Actions that other people created, and then you will continue by using Python in your workflows. And finally, create an automatic testing pipeline with pytest.

01:37 To get the most of this course, you should have a GitHub account and some basic Git knowledge. The GitHub account is important because otherwise you can’t use GitHub Actions.

01:46 And as for the basic Git knowledge, if you know how to commit your code and push it to a remote repository, you’re good. And to get started, you don’t have to have a repo ready.

01:56 You will do this in the first lesson of this course after this overview. Okay, let’s get started. In the next lesson, you will set up your project by creating a Git repository and checking that pushing and pulling your code works.

Become a Member to join the conversation.