[RELEASE] 11.5.5 Minor fixes #2088
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: tests | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '42 5 * * *' | |
jobs: | |
testsuite: | |
name: all tests | |
runs-on: ubuntu-20.04 | |
strategy: | |
# This prevents cancellation of matrix job runs, if one or more already failed | |
# and let the remaining matrix jobs be be executed anyway. | |
fail-fast: false | |
matrix: | |
php: [ '7.4', '8.0', '8.1', '8.2' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install testing system | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate | |
- 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 lint | |
- name: CGL | |
if: ${{ matrix.php <= '8.1' }} | |
run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s cgl | |
- name: phpstan | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstan -e "--error-format=github" | |
- 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 | |
- name: Functional Tests with postgres | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d postgres -s functional | |
- name: Functional Tests with sqlite | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d sqlite -s functional | |
- name: Acceptance Tests | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s acceptance |