Add PnD DPI OpenScience demo: BITE-native weather TAP + grant-gated r… #71
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: Pancake CI | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r services/requirements.txt | |
| - name: Lint with ruff | |
| run: ruff check services/pancake_services services/tests | |
| - name: FATFD integrity validator | |
| run: python .audit/validate_fatfd.py | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r services/requirements.txt | |
| - name: Legacy + regression tests | |
| run: python -m pytest tests -q | |
| - name: Services test suite | |
| run: python -m pytest services/tests -q --cov=services/pancake_services --cov-report=term | |
| - name: End-to-end demo | |
| working-directory: services | |
| run: python demo/end_to_end_demo.py | |
| - name: Test-issuer kit smoke | |
| working-directory: services | |
| run: python -m pancake_services.grants.testkit.mint_test_credentials --out /tmp/dev_keys |