PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Packages of Adrian M   QuickWP   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: QuickWP
Manage WordPress sites using the REST API
Author: By
Last change:
Date: 12 hours ago
Size: 848 bytes
 

 

Contents

Class file image Download
name: CI on: push: branches: [main, 'feat/**'] pull_request: branches: [main] jobs: test: name: PHP ${{ matrix.php }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: php: ['8.3', '8.4'] steps: - name: Checkout uses: actions/checkout@v4 - name: Setup PHP ${{ matrix.php }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: curl, json coverage: none - name: Install Composer dependencies run: composer install --no-interaction --prefer-dist - name: Lint PHP files run: | find src public tests -name '*.php' -print0 | xargs -0 -n1 php -l - name: Run PHPStan run: composer analyse - name: Run PHPUnit run: composer test