CI #5854
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 | |
| # Every "runTests.sh" call below passes "-b docker". The script prefers podman | |
| # whenever it is present and only falls back to docker, which is the right | |
| # default for it -- but GitHub hosted runners ship both, and since 2026-07-29 | |
| # their podman/crun combination aborts the first container start of a job with | |
| # "OCI runtime error: crun: unknown version specified" (exit code 126). It is | |
| # intermittent, hits any job, and was traced to neither the runner image nor | |
| # the TYPO3 testing image changing. Selecting docker here avoids crun entirely | |
| # and leaves the script default and local runs untouched. Drop the flag once | |
| # GitHub stops producing the mismatch. | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| testsuite: | |
| name: all tests | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| php: [ '8.2', '8.3', '8.4', '8.5' ] | |
| steps: | |
| - name: Checkout ${{ github.event_name == 'workflow_dispatch' && github.head_ref || '' }} | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event_name == 'workflow_dispatch' && github.head_ref || '' }} | |
| - name: Composer install | |
| run: Build/Scripts/runTests.sh -b docker -p ${{ matrix.php }} -s composerUpdate | |
| - name: CGL | |
| if: ${{ matrix.php <= '8.3' }} | |
| run: Build/Scripts/runTests.sh -b docker -p ${{ matrix.php }} -s cgl -n | |
| - name: Lint PHP | |
| run: Build/Scripts/runTests.sh -b docker -p ${{ matrix.php }} -s lint | |
| - name: Phpstan | |
| if: ${{ matrix.php <= '8.3' }} | |
| run: Build/Scripts/runTests.sh -b docker -p ${{ matrix.php }} -s phpstan | |
| - name: Unit Tests | |
| run: Build/Scripts/runTests.sh -b docker -p ${{ matrix.php }} -s unit |