Skip to main content
Loading page…
Python Mastery
Chapter 53
Lesson 3 of 4
CI/CD with GitHub Actions, uv and Trusted Publishing
Contents
Notes
Tutor
Concept
CI/CD Concepts and GitHub Actions Architecture
Loading activity…
Previous
1 / 9
Continue
Contents
Notes
Discussion
Tutor
28 min
9 activities
0 of 9 done
In this lesson
1
CI/CD Concepts and GitHub Actions Architecture
2
A Professional CI Workflow with Matrix and Caching
3
Publishing to PyPI on Version Tags
4
Parse a Workflow YAML Matrix
5
Workflow Trigger: When Does the Publish Job Run?
6
GitHub Actions Vocabulary Quiz
7
Gotcha: Never Store PyPI Tokens as Plaintext Secrets
8
Order of a CI/CD Pipeline
9
Cache Key Design
Objectives
Learner can write a GitHub Actions workflow YAML that runs pytest and ruff on push
Learner can configure a matrix strategy to test across multiple Python versions
Learner can implement dependency caching to speed up CI runs
Learner can add a PyPI publish job that fires only on version tags
Learner can add a status badge to a README
Further reading
GitHub Actions setup-python
PyPI trusted publishing
Packaging Python projects
Chapter 53 · Packaging, Docker & Deployment
Modern Project Tooling: uv, Ruff & pre-commit
Docker for Python
CI/CD with GitHub Actions, uv and Trusted Publishing
Deploying a Python App
Previous: Docker for Python
Next: Deploying a Python App