[BUGFIX] Fix some php-cs fixer errors #13
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: | |
testsute: | |
name: "Testsuite" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.2', '8.3' ] | |
minMax: [ 'composerInstallMin', 'composerInstallMax' ] | |
coreVersion: [ '12.4', '13.2' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Composer | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s ${{ matrix.minMax }} -t ${{ matrix.coreVersion }} | |
# - name: Composer validate | |
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate | |
- name: Lint PHP | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lintPhp | |
- name: PHP CS Fixer | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s cgl -n | |
- name: PHP Stan | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstan -n | |
- name: PHP Stan Basline | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstanGenerateBaseline -n | |
- name: Unit tests | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit | |
- name: Functional tests with mariadb | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -s functional |