Automatic report generation when changes are made to analysis scripts.
.github/workflows/generate_report.yaml- GitHub Actions workflowanalysis/generate_report.py- Python script that generates reportsrequirements.txt- Project dependencies
- Workflow triggers on pushes to
analysis/*.pyfiles - Generates PDF reports with matplotlib and uploads as artifacts
# Test the report generation locally
python analysis/generate_report.pyWorkflow generates a PDF report and makes it available as a downloadable artifact when analysis scripts change.
- Modify analysis: Change the report generation script
- Push changes: Trigger the workflow by committing to
analysis/directory - Download report: Access the generated PDF from the workflow artifacts
← Previous: 02_data_pipeline | Next: 04_job_dependencies →
Example 3 of 4