Skip to content

[TASK] Streamline Build/Scripts/runTests.sh #2612

[TASK] Streamline Build/Scripts/runTests.sh

[TASK] Streamline Build/Scripts/runTests.sh #2612

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '12 6 * * *'
jobs:
testsuite:
name: all tests
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1' , '8.2', '8.3' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Composer install
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
- name: CGL
if: ${{ matrix.php <= '8.1' }}
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
if: ${{ matrix.php >= '8.2' }}
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstan
- name: Unit Tests
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit