Open stream for reading when appropriate. #55
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: | |
build-test: | |
name: PHPUnit tests on ${{ matrix.php }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.1', '8.2', '8.3' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: php-actions/composer@v6 | |
- name: Run tests | |
run: | | |
sudo chmod -R 777 vendor/pestphp/pest/.temp | |
vendor/bin/pest | |
build-code-style: | |
name: PHP-CS-Fixer checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: php-actions/composer@v6 | |
- name: Run CS-Fixer | |
run: vendor/bin/php-cs-fixer check |