Merge pull request #100 from jolicode/gh-pages #55
Workflow file for this run
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: Continuous Integration | |
'on': | |
push: | |
branches: | |
- master | |
pull_request: ~ | |
jobs: | |
ci: | |
name: Test PHP ${{ matrix.php-version }} ${{ matrix.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: | |
- '8.2' | |
- '8.3' | |
composer-flags: [''] | |
name: [''] | |
include: | |
- php-version: 8.1 | |
composer-flags: '--prefer-lowest' | |
name: '(prefer lowest dependencies)' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '${{ matrix.php-version }}' | |
- name: Validate composer.json and composer.lock | |
run: composer validate --strict | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Run tests | |
run: composer test |