Release 1.5.0 #78
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: test | |
on: push | |
jobs: | |
test: | |
name: "PHPUnit (PHP ${{ matrix.php }})" | |
runs-on: "ubuntu-20.04" | |
strategy: | |
matrix: | |
php: | |
- "8.1" | |
- "8.2" | |
- "8.3" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "${{ matrix.php }}" | |
- name: Install Composer dependencies | |
run: composer update --no-progress --prefer-dist --optimize-autoloader | |
- name: Install Git | |
run: sudo apt-get install -y git && git config --global init.defaultBranch main | |
- name: Run tests | |
run: composer run-script test |