name: extension-conformance on: push: pull_request: workflow_dispatch: jobs: conformance: # This repository does not build the Marqdo CLI. It consumes one frozen # release binary supplied to the job as the absolute path in the # `MARQDO_BIN` repository variable. runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Require a frozen CLI (never built here) run: | set -eu test -n "${MARQDO_BIN:-}" || { echo "MARQDO_BIN is not configured"; exit 2; } test -x "$MARQDO_BIN" || { echo "MARQDO_BIN is not executable: $MARQDO_BIN"; exit 2; } env: MARQDO_BIN: ${{ vars.MARQDO_BIN }} - name: Build native fixtures with cc run: | ./plugin/build.sh ./provider/build.sh - name: Run frozen-binary conformance suite run: python3 tests/run_all.py env: MARQDO_BIN: ${{ vars.MARQDO_BIN }} MARQDO_EXPECTED_SHA256: ${{ vars.MARQDO_EXPECTED_SHA256 }} - name: Upload evidence if: always() uses: actions/upload-artifact@v4 with: name: extension-evidence path: evidence/results.json