Housekeeping #55
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
on: [pull_request, push] | |
name: CI | |
jobs: | |
run-ci: | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [ "8.3" ] | |
runs-on: [ubuntu-latest] | |
name: PHP@${{ matrix.php }} | |
steps: | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- uses: actions/checkout@v3 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install composer dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
env: | |
COMPOSER_ALLOW_SUPERUSER: 1 | |
- name: Run Testsuite | |
run: composer run-script test | |
- name: Run Linting | |
run: composer run-script lint | |
- name: Run Static Analysis | |
run: composer run-script analyse | |
- name: Run Type Coverage | |
run: composer run-script coverage:type |