Add TYPO3 12 compatibility #15
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: Test reserve for TYPO3 12 LTS | |
on: | |
pull_request | |
jobs: | |
CGL: | |
name: Coding Style Check (TYPO3 Community CGL) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Composer | |
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s composerUpdate | |
- name: Lint PHP | |
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s lint | |
- name: Validate code against CGL | |
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s cgl -n | |
testsuite: | |
name: PHP Unit and Functional Tests for TYPO3 Version 12 LTS | |
needs: CGL | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: | |
- '8.1' | |
- '8.2' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Composer | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -s composerUpdate | |
- name: Unit tests | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -s unit | |
- name: Functional tests with mariadb | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d mariadb -s functional | |
- name: Functional tests with postgres | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d postgres -s functional | |
- name: Functional tests with sqlite | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -d sqlite -s functional |