FieldList split + holder resolution: Days 1-4 (grants, statuslist revocation, MEAL disclosure audit) #90
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, pull_request] | |
| 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: 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: Lint with ruff | |
| run: | | |
| pip install ruff==0.6.9 | |
| ruff check services/pancake_services services/tests | |
| - name: Checkout AR2 | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: agstack/ar2 | |
| ref: day4-fixes | |
| path: ar2 | |
| token: ${{ secrets.AGSTACK_PAT }} | |
| - name: Services test suite | |
| run: | | |
| pip install -r ar2/requirements.txt | |
| python -m pytest services/tests -q -ra --strict-markers --cov=services/pancake_services --cov-report=term | |
| - name: Test-issuer kit smoke | |
| working-directory: services | |
| run: python -m pancake_services.grants.testkit.mint_test_credentials | |
| - name: End-to-end demo | |
| working-directory: services | |
| run: python demo/end_to_end_demo.py |