ci: checkout day4-fixes for ar2 #87
Workflow file for this run
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: 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 |