Skip to content

Rename profile table #32

Rename profile table

Rename profile table #32

Workflow file for this run

name: tests
on: [pull_request]
jobs:
lint:
name: Linting
runs-on: self-hosted
strategy:
fail-fast: true
matrix:
php:
- '8.2'
- '8.3'
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Lint PHP'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint
code-quality:
name: 'Code quality'
needs: lint
runs-on: self-hosted
strategy:
fail-fast: true
matrix:
php:
- '8.2'
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Install testing system'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
- name: 'Composer validate'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate
- name: 'Composer normalize'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerNormalize -n
- name: 'CGL'
run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s cgl
- name: 'phpstan'
run: Build/Scripts/runTests.sh -n -p ${{ matrix.php }} -s phpstan
unit-tests:
name: 'Unit tests'
needs: code-quality
runs-on: self-hosted
strategy:
fail-fast: true
matrix:
php:
- '8.2'
- '8.3'
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Install testing system'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
- name: 'Execute unit tests'
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit