CI #2869
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: | |
schedule: | |
- cron: '56 5 * * *' | |
jobs: | |
testsuite: | |
name: all tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '7.4', '8.0', '8.1' ] | |
TYPO3: [ '11' ] | |
include: | |
- TYPO3: '12' | |
php: '8.1' | |
- TYPO3: '12' | |
php: '8.2' | |
- TYPO3: '12' | |
php: '8.3' | |
- TYPO3: '13' | |
php: '8.2' | |
- TYPO3: '13' | |
php: '8.3' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install testing system | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s composerInstall | |
- name: Composer validate | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s composerValidate | |
- name: Lint PHP | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s lint | |
- name: CGL | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s cgl -n | |
- name: phpstan | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s phpstan | |
- name: Unit Tests | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s unit | |
- name: Functional Tests v12/v11 | |
if: matrix.TYPO3 != '13' | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional | |
- name: Functional Tests v13 | |
if: matrix.TYPO3 == '13' | |
run: PHPUNIT_EXCLUDE_GROUPS=content_defender Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional | |
- name: Acceptance Tests v12/v11 | |
if: matrix.TYPO3 != '13' | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptance -- --fail-fast | |
- name: Acceptance Tests v13 | |
if: matrix.TYPO3 == '13' | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptance -- --fail-fast --skip-group=content_defender | |
- name: Archive acceptance tests results | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: acceptance-test-reports-${{ matrix.php }}-${{ matrix.TYPO3 }} | |
path: .Build/Web/typo3temp/var/tests/_output |