This is a simple Python Flask project created for learning GitHub Actions.
- Create a basic Flask app
- Run a GitHub Actions Workflow to:
- Install dependencies
- Test that Flask is installed correctly
- Install Python 3.11
- Install dependencies:
pip install -r requirements.txt
Run the application:
python app.py
Open your browser and visit:
🟢 GitHub Actions
Workflow file location:
.github/workflows/python-ci.yml
Triggers on every push to the main branch
Workflow steps:
Checkout code
Setup Python
Install dependencies using pip
Run a simple test to verify Flask installation