[FEATURE] Implemented base structure for the whole build and testing … #2
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] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['8.0', '8.1', '8.2', '8.3', '8.4'] | |
typo3: ['11', '12', '13'] | |
composerInstall: ['composerInstallLowest', 'composerInstallHighest'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: Build/Scripts/runTests.sh -t ${{ matrix.typo3 }} -p ${{ matrix.php }} -s composerUpdate | |
- name: Composer validate | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate | |
- name: Composer normalize | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerNormalize -n | |
- 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 -n | |
- name: PHPStan | |
run: Build/Scripts/runTests.sh -t ${{ matrix.typo3 }} -p ${{ matrix.php }} -s phpstan -e "--error-format=github" |