Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Generate Report Workflow

Automatic report generation when changes are made to analysis scripts.

Files

  • .github/workflows/generate_report.yaml - GitHub Actions workflow
  • analysis/generate_report.py - Python script that generates reports
  • requirements.txt - Project dependencies

Key Points

  • Workflow triggers on pushes to analysis/*.py files
  • Generates PDF reports with matplotlib and uploads as artifacts

How to Run

# Test the report generation locally
python analysis/generate_report.py

Expected Output

Workflow generates a PDF report and makes it available as a downloadable artifact when analysis scripts change.

Try This

  1. Modify analysis: Change the report generation script
  2. Push changes: Trigger the workflow by committing to analysis/ directory
  3. Download report: Access the generated PDF from the workflow artifacts

Learn More

Back to Chapter 12


Previous: 02_data_pipeline | Next: 04_job_dependencies →

Example 3 of 4