CI/CD of Python Web App with GitHub Actions
22 Sep 2023Objective
Enhance web application quality and speed up development iterations.
Technical Goals/Overview
Automate build, testing, and deployment of Python web application using GitHub Actions.
Summary: Technical Implementation
- Create GitHub Actions Workflow to
- trigger job upon check in to branch
- checkout branch
- install python
- install app dependencies (pip)
- install test dependencies (pytest, playwright, browser)
- run tests
- merge to production branch (if tests successful)
- Test and verify GitHub Actions Workflow is working as expected
Skills Footprint:
Category | Technical Specifics |
---|---|
general | CI/CD * Automated Testing * Automated Deployment |
standards | |
tools | VSCode * GitHub Actions * GIT * Python * PIP * PyTest * PlayWright |
concepts | CI/CD * Regression Testing * Continuous Integration * Continuous Deployment * Refactoring * Clean Code |
packages | pip * pytest * playwright |
deployment | GitHub Actions |