From dd0d1a06065ee2b1d39c830c7abc05a2af7d27c0 Mon Sep 17 00:00:00 2001 From: Filipa Andrade Date: Fri, 16 Oct 2026 08:51:23 +0100 Subject: [PATCH 1/3] Run the cross-SDK conformance corpus in CI --- .github/workflows/ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6208aff..027b135 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,3 +69,45 @@ jobs: - name: Check code style run: composer lint:check + + conformance: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Check out conformance suite (pinned) + uses: actions/checkout@v4 + with: + repository: getsupertab/connect-sdk-conformance + ref: v0.4.0 + token: ${{ secrets.CONFORMANCE_REPO_TOKEN }} + path: _conformance + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.1' + extensions: curl, json, openssl, simplexml + coverage: none + tools: composer:v2 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + + - name: Install dependencies + run: composer install --no-interaction --no-progress --prefer-dist + + - name: Install conformance dependencies + run: npm ci + working-directory: _conformance + + - name: Run conformance corpus (PHP runner) + run: npm run conformance + working-directory: _conformance + env: + STC_PHP_RUNNER_CWD: ${{ github.workspace }} + STC_ONLY: php From be73cf94495b8ac7b7c037f1767c5ab7d51090be Mon Sep 17 00:00:00 2001 From: Filipa Andrade Date: Fri, 16 Oct 2026 09:50:05 +0100 Subject: [PATCH 2/3] Check out the conformance suite with a deploy key --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 027b135..26c1326 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,7 +82,7 @@ jobs: with: repository: getsupertab/connect-sdk-conformance ref: v0.4.0 - token: ${{ secrets.CONFORMANCE_REPO_TOKEN }} + ssh-key: ${{ secrets.CONFORMANCE_DEPLOY_KEY }} path: _conformance - name: Setup PHP From 1833a868b0185bba85becd1f39021b967a2630b4 Mon Sep 17 00:00:00 2001 From: Filipa Andrade Date: Fri, 16 Oct 2026 10:33:43 +0100 Subject: [PATCH 3/3] Check out the conformance suite with a GitHub App token --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26c1326..dd559a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,12 +77,21 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Mint conformance repo token + id: app-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.CONFORMANCE_APP_ID }} + private-key: ${{ secrets.CONFORMANCE_APP_PRIVATE_KEY }} + owner: getsupertab + repositories: connect-sdk-conformance + - name: Check out conformance suite (pinned) uses: actions/checkout@v4 with: repository: getsupertab/connect-sdk-conformance ref: v0.4.0 - ssh-key: ${{ secrets.CONFORMANCE_DEPLOY_KEY }} + token: ${{ steps.app-token.outputs.token }} path: _conformance - name: Setup PHP