Skip to content

fix: Add newline to end of sanitize_jsonl.py for ruff compliance #27

fix: Add newline to end of sanitize_jsonl.py for ruff compliance

fix: Add newline to end of sanitize_jsonl.py for ruff compliance #27

Workflow file for this run

name: Quality Gates
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
quality-gates:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: 🚨 MANDATORY Quality Gates
run: |
echo "πŸ” Running MANDATORY quality gates..."
make quality-check
- name: πŸ“Š Upload coverage reports
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
- name: πŸ’Ύ Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
- name: βœ… Quality Gates Status
run: |
echo "πŸŽ‰ ALL QUALITY GATES PASSED!"
echo "βœ… Tests: 100% pass rate"
echo "βœ… Coverage: β‰₯90%"
echo "βœ… Architecture: SOLID/DRY/DDD"
echo "βœ… Libraries: 95/5 principle"
echo "πŸš€ Safe to merge!"