Skip to content

CI for branch main

CI for branch main #15

Workflow file for this run

name: ci-main
run-name: CI for branch main
on:
workflow_dispatch:
push:
branches-ignore:
- '1.0'
- '1.1'
- '2.0'
pull_request:
branches-ignore:
- '1.0'
- '1.1'
- '2.0'
jobs:
integrity:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lintPhp
- name: Composer validate
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate
composer:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Composer update
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
cgl:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Composer update
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
- name: CGL check
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -n -s cgl
- name: PHPStan
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstan
testsuite:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Composer update
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
- name: Unit testing
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit