Skip to content

Update fpdf2 requirement from >=2.7 to >=2.8.7 #31

Update fpdf2 requirement from >=2.7 to >=2.8.7

Update fpdf2 requirement from >=2.7 to >=2.8.7 #31

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
- 'CITATION.md'
- 'CONTRIBUTING.md'
- 'SECURITY.md'
- 'docs/**'
- '**/*.md'
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
- 'CITATION.md'
- 'CONTRIBUTING.md'
- 'SECURITY.md'
- 'docs/**'
- '**/*.md'
jobs:
lint-and-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Check key imports resolve
run: python -c "import src.models; import src.engine; import src.renderers; print('Imports OK')"
- name: Run tests
run: python -m pytest tests/ -v --tb=short
- name: Run documented CLI fallback smoke path
run: |
python run_demo.py --input templates/sample_project.json --mode dmaic --audience pm > smoke-output.md
test -s smoke-output.md
grep -q "Supplier Change Request Intake" smoke-output.md