Clean code in tests, refactor for PHPUNIT v.10. (#112)
#1165
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
| on: | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'README.md' | |
| - 'CHANGELOG.md' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'infection.json.dist' | |
| - 'psalm.xml' | |
| push: | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'README.md' | |
| - 'CHANGELOG.md' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'infection.json.dist' | |
| - 'psalm.xml' | |
| name: build | |
| jobs: | |
| linux: | |
| uses: php-forge/actions/.github/workflows/core.yml@main | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| with: | |
| composer-command: | |
| composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi --ignore-platform-reqs | |
| enable-memcached: true | |
| exclude-group-phpunit: | |
| db,wincache | |
| extensions: | |
| apcu, curl, dom, fileinfo, imagick, intl, mbstring, mcrypt, memcached, pdo, pdo_sqlite | |
| ini-values: | |
| apc.enabled=1,apc.shm_size=32M,apc.enable_cli=1, date.timezone='UTC', session.save_path="./tests/runtime" | |
| os: >- | |
| ['ubuntu-latest'] | |
| php: >- | |
| ['8.1', '8.2', '8.3'] | |
| windows: | |
| uses: php-forge/actions/.github/workflows/core.yml@main | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| with: | |
| composer-command: | |
| composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi --ignore-platform-reqs | |
| exclude-group-phpunit: | |
| db,xcache,zenddata | |
| extensions: | |
| apcu, curl, dom, fileinfo, imagick, intl, mbstring, mcrypt, pdo, pdo_sqlite, wincache | |
| ini-values: | |
| apc.enabled=1,apc.shm_size=32M,apc.enable_cli=1, date.timezone='UTC', session.save_path="./tests/runtime", wincache.enablecli=1, wincache.ucenabled=1 | |
| os: >- | |
| ['windows-latest'] | |
| php: >- | |
| ['8.1', '8.2', '8.3'] | |
| concurrency: | |
| group: windows-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true |