CI #3562
This file contains hidden or 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-22.04 | |
| strategy: | |
| matrix: | |
| php: [ '8.1', '8.2', '8.3'] | |
| TYPO3: [ '12' ] | |
| include: | |
| - TYPO3: '13' | |
| php: '8.2' | |
| - TYPO3: '13' | |
| php: '8.3' | |
| - TYPO3: '14' | |
| php: '8.2' | |
| - TYPO3: '14' | |
| 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 | |
| run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional | |
| if: matrix.TYPO3 != '14' | |
| - name: Functional Tests 14 | |
| run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional -- --exclude-group content_defender | |
| if: matrix.TYPO3 == '14' | |
| - name: Acceptance Tests | |
| run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptance -- --fail-fast | |
| if: matrix.TYPO3 != '14' | |
| - 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 | |
| - name: Archive composer.lock | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: composer.lock-${{ matrix.php }}-${{ matrix.TYPO3 }} | |
| path: composer.lock |