Skip to content

[RELEASE] 12.0.5 Minor fixes #2086

[RELEASE] 12.0.5 Minor fixes

[RELEASE] 12.0.5 Minor fixes #2086

Workflow file for this run

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 executed anyway.
fail-fast: false
matrix:
php: [ '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
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
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 and mysqli
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -a mysqli -s functional
- name: Functional Tests with mariadb and pdo_mysql
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -a pdo_mysql -s functional
- name: Functional Tests with mysql and mysqli
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mysql -a mysqli -s functional
- name: Functional Tests with mysql and pdo_mysql
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mysql -a pdo_mysql -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: Build CSS
run: Build/Scripts/runTests.sh -s buildCss