From 96a522e317706dca5336a6eb48243d15a2bee2b2 Mon Sep 17 00:00:00 2001 From: Martin Seidel Date: Tue, 14 Jul 2026 14:28:58 +0200 Subject: [PATCH 1/2] QEA-1499: push PHPUnit test results from php.yml to test-monitoring Co-Authored-By: Claude Fable 5 --- .github/workflows/php.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 28d3416..3458f27 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -33,3 +33,28 @@ jobs: - name: Run test suite run: composer test + env: + PHPUNIT_ARGS: --log-junit junit-report/results.xml + + - name: Upload test report + if: ${{ always() }} + uses: actions/upload-artifact@v7 + with: + name: junit-xml-${{ matrix.php-versions }} + path: junit-report/*.xml + retention-days: 1 + if-no-files-found: warn + + push-test-results: + name: Push test results + if: ${{ always() }} + needs: [run] + uses: Staffbase/test-monitoring-connector-junit/.github/workflows/connector-junit.yml@a695b35c6b678742bc696a378dc9a307e96cebcd # includes module-fetch retry fix (test-monitoring-connector-junit#12) + with: + artifact-pattern: junit-xml-* + glob: 'junit-report/*.xml' + connector-version: a695b35c6b678742bc696a378dc9a307e96cebcd # v2026.28.2 (per-test started_at fix) + app-id: ${{ vars.STAFFBASE_ACTIONS_APP_ID }} + secrets: + service-secret: ${{ secrets.TEST_MONITORING_SERVICE_SECRET }} + app-private-key: ${{ secrets.STAFFBASE_ACTIONS_PRIVATE_KEY }} From bf7faee3f011b5f500969de4251d0b2b18f05edd Mon Sep 17 00:00:00 2001 From: Martin Seidel Date: Tue, 14 Jul 2026 14:35:59 +0200 Subject: [PATCH 2/2] QEA-1499: use STAFFBASE_ACTIONS_CLIENT_ID org var STAFFBASE_ACTIONS_APP_ID is deprecated. Co-Authored-By: Claude Fable 5 --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 3458f27..47c6a56 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -54,7 +54,7 @@ jobs: artifact-pattern: junit-xml-* glob: 'junit-report/*.xml' connector-version: a695b35c6b678742bc696a378dc9a307e96cebcd # v2026.28.2 (per-test started_at fix) - app-id: ${{ vars.STAFFBASE_ACTIONS_APP_ID }} + app-id: ${{ vars.STAFFBASE_ACTIONS_CLIENT_ID }} secrets: service-secret: ${{ secrets.TEST_MONITORING_SERVICE_SECRET }} app-private-key: ${{ secrets.STAFFBASE_ACTIONS_PRIVATE_KEY }}