Fix race condition in EvalLoader #1036
Workflow file for this run
This file contains 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, pull_request] | |
jobs: | |
cs-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: setup | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.2 | |
coverage: none | |
- name: install PHP CS Fixer | |
run: 'composer install -n --prefer-dist --optimize-autoloader --working-dir=tools/php-cs-fixer' | |
- name: 'php-cs-fixer check' | |
run: 'tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.php --dry-run --diff' | |
phpstan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: cache-composer | |
uses: actions/cache@v2 | |
with: | |
path: ~/.composer/cache/ | |
key: composer-${{ github.sha }} | |
- name: setup | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.3 | |
coverage: none | |
- name: composer install | |
run: composer update --prefer-stable | |
- name: install phpstan | |
run: 'composer install -n --prefer-dist --optimize-autoloader --working-dir=tools/phpstan' | |
- name: 'phpstan check' | |
run: 'tools/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan/phpstan.neon' | |
tests: | |
runs-on: ubuntu-latest | |
name: tests | |
strategy: | |
fail-fast: false | |
matrix: | |
php-versions: | |
- 8.2 | |
- 8.3 | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: cache-composer | |
uses: actions/cache@v2 | |
with: | |
path: ~/.composer/cache/ | |
key: composer-${{ github.sha }} | |
- name: setup | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '${{ matrix.php-versions }}' | |
coverage: none | |
extensions: mbstring, fileinfo, json, intl, dom | |
- name: composer install | |
run: composer update --prefer-stable | |
- name: tests | |
run: vendor/bin/phpunit | |
tests-lowest: | |
runs-on: ubuntu-latest | |
name: tests-lowest | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: cache-composer | |
uses: actions/cache@v2 | |
with: | |
path: ~/.composer/cache/ | |
key: composer-${{ github.sha }} | |
- name: setup | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.2 | |
coverage: none | |
extensions: mbstring, fileinfo, json, intl, dom | |
- name: composer install | |
run: composer update --prefer-stable --prefer-lowest | |
- name: tests | |
run: vendor/bin/phpunit |