ci: run minter before demo and use correct output dir #83
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: Services test suite | |
| run: python -m pytest services/tests -q --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 |