fix: resolve pipeline strictness issues causing epic escalations (TDD) #56
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 | |
| on: [push, pull_request] | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install -e 'platform[dev]' | |
| - name: Ruff lint | |
| run: ruff check platform/ studio/ | |
| - name: Ruff format check | |
| run: ruff format --check platform/ studio/ | |
| - name: Mypy typecheck | |
| run: mypy platform/forge/ studio/ --ignore-missing-imports | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install -e 'platform[dev]' | |
| - name: Run tests with coverage | |
| run: pytest platform/tests/ -m "not docker and not live and not slow" -x --timeout=120 -n auto -q --cov=forge --cov-report=xml | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v4 | |
| if: always() | |
| with: | |
| file: ./coverage.xml | |
| fail_ci_if_error: false |