From 1226ec0db0ef485d4970016bc9f677fce1e6469d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Feb 2026 01:20:49 +0000 Subject: [PATCH] ci: use reusable PHP test workflow from core/php Replaces inline workflow with shared workflow call. Co-Authored-By: Charon --- .forgejo/workflows/ci.yml | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index a6eaa2b..9ab12b7 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -8,31 +8,6 @@ on: jobs: tests: - runs-on: ubuntu-latest - - strategy: - fail-fast: true - matrix: - php: [8.3, 8.4] - - name: PHP ${{ matrix.php }} - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup PHP - uses: https://github.com/shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite - coverage: pcov - - - name: Install dependencies - run: composer install --prefer-dist --no-interaction --no-progress - - - name: Run Pint - run: vendor/bin/pint --test - - - name: Run tests - run: vendor/bin/pest --ci --coverage + uses: core/php/.forgejo/workflows/php-test.yml@main + with: + coverage: true