Merge pull request #32 from 21TORR/use-snailer #113
This file contains hidden or 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.4'] | |
| 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: Run Linters | |
| run: composer run-script lint | |
| - name: Run Tests | |
| run: composer run-script test |