This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
Use more streamlined view assertions (#100) #123
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: Tests (PHP) | |
on: [push, pull_request] | |
jobs: | |
phpunit: | |
name: PHP ${{ matrix.php }} (${{ matrix.os }} with ${{ matrix.dependency-version }} deps) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
php: [8.1, 8.2] | |
dependency-version: [highest, lowest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: mbstring, fileinfo | |
coverage: none | |
- name: Install dependencies | |
uses: ramsey/composer-install@v2 | |
with: | |
dependency-versions: ${{ matrix.dependency-version }} | |
composer-options: "--prefer-dist" | |
- name: Execute tests | |
run: vendor/bin/phpunit |