Merge pull request #1075 from cakephp/dereuromark-patch-1 #719
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - '5.x' | |
| - '5.next' | |
| - '6.x' | |
| pull_request: | |
| branches: | |
| - '*' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| testsuite: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - php-version: '8.1' | |
| dependencies: 'lowest' | |
| - php-version: '8.5' | |
| dependencies: 'highest' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: mbstring, intl, pdo_sqlite | |
| ini-values: zend.assertions=1 | |
| coverage: none | |
| - name: Composer install | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| dependency-versions: ${{ matrix.dependencies }} | |
| composer-options: ${{ matrix.composer-options }} | |
| - name: Composer post install | |
| run: composer run-script post-install-cmd --no-interaction | |
| - name: Run PHPUnit | |
| run: vendor/bin/phpunit | |
| env: | |
| DATABASE_TEST_URL: sqlite://./testdb.sqlite | |
| coding-standard: | |
| name: Coding Standard & Static Analysis | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.1' | |
| extensions: mbstring, intl | |
| coverage: none | |
| tools: cs2pr, phpstan:1.12 | |
| - name: Composer install | |
| uses: ramsey/composer-install@v3 | |
| - name: Run PHP CodeSniffer | |
| run: vendor/bin/phpcs --report=checkstyle | cs2pr | |
| - name: Run phpstan | |
| if: always() | |
| run: phpstan | |
| env: | |
| SECURITY_SALT: f76f1c8475585c46c6acd3ddcb8f5e0f15de524637bb4080a08c4afe7cfc9144 |