Merge pull request #140 from 21TORR/hosting-v4 #492
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 ] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [8.3] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: "none" | |
ini-values: "memory_limit=-1" | |
php-version: "${{ matrix.php }}" | |
tools: "composer" | |
- name: Display versions | |
run: | | |
php --version | |
php -r 'foreach (get_loaded_extensions() as $extension) echo $extension . " " . phpversion($extension) . PHP_EOL;' | |
php -i | |
- name: Install Composer | |
run: composer install --optimize-autoloader --classmap-authoritative --no-interaction | |
- name: Lint | |
run: composer run-script lint | |
- name: Test Suite | |
run: composer run-script test | |
env: | |
PHP_CS_FIXER_IGNORE_ENV: 1 |