[TASK] Harden Core\Functional\Framework\Frontend #2994
Workflow file for this run
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: | |
workflow_dispatch: | |
jobs: | |
testsuite: | |
name: all tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.2', '8.3' ] | |
steps: | |
- name: Extract branch name | |
shell: bash | |
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT | |
id: extract_branch | |
- name: Checkout ${{ steps.extract_branch.outputs.branch }} | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ steps.extract_branch.outputs.branch }} | |
- name: Composer install | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate | |
- name: CGL | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s cgl -n | |
- name: Lint PHP | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint | |
- name: Phpstan | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstan | |
- name: Unit Tests | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit |