Read signing golden fixtures from spec checkout #240
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-test: | |
| name: "IntentProof CI: Build and Test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Checkout spec repository | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: IntentProof/intentproof-spec | |
| ref: main | |
| path: intentproof-spec | |
| - name: Ensure spec sdk-signing golden checkout | |
| run: | | |
| if [[ -d intentproof-spec/golden/sdk-signing ]]; then | |
| exit 0 | |
| fi | |
| git -C intentproof-spec fetch origin phase3-ecosystem-conformance | |
| git -C intentproof-spec checkout FETCH_HEAD | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| pip install -e ".[dev]" | |
| - name: Run tests with coverage | |
| env: | |
| INTENTPROOF_SPEC_DIR: intentproof-spec | |
| run: bash ./scripts/run-coverage-gate.sh | |
| - name: Verify sdk-signing fixtures synced with spec | |
| env: | |
| INTENTPROOF_SPEC_DIR: intentproof-spec | |
| run: bash ./scripts/check-sdk-signing-fixtures-sync.sh |