| 1234567891011121314151617181920 |
- name: API contracts
- on:
- pull_request:
- push:
- branches: [main]
- jobs:
- openapi:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-python@v5
- with:
- python-version: "3.11"
- cache: pip
- - run: pip install -r requirements.txt pytest
- - run: python scripts/generate_openapi.py
- - run: git diff --exit-code -- docs/architecture/OPENAPI.yaml
- - run: python -m pytest tests/test_architecture_artifacts.py -q
|