CI #3974
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.2', '8.3', '8.4', '8.5'] | |
| TYPO3: [ '13', '14', '14-dev' ] | |
| 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 -- --do-not-fail-on-deprecation --exclude-group v14-only | |
| if: matrix.TYPO3 == '13' | |
| - name: Functional Tests 14.1 | |
| run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional -- --exclude-group v14-only | |
| if: matrix.TYPO3 == '14' | |
| - name: Functional Tests 14 | |
| run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s functional | |
| if: matrix.TYPO3 == '14-dev' | |
| - name: Acceptance Tests | |
| run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s acceptance -- --fail-fast | |
| - 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 |