docs: Update documentation to reflect 90% code coverage and passing q… #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Pipeline | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| cache: 'pip' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run tests with coverage | |
| run: | | |
| pytest tests/ -v --cov=app --cov-report=term-missing | |
| - name: Check code formatting (Black) | |
| run: black --check app/ tests/ main.py | |
| - name: Run type checking (Mypy) | |
| run: mypy app/ main.py | |
| - name: Run linting (Flake8) | |
| run: flake8 app/ tests/ main.py --max-line-length=120 |