Update readme.md #56
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: "Unit Tests" | |
on: | |
pull_request: null | |
push: | |
branches: | |
- stable | |
- develop | |
jobs: | |
phpunit: | |
name: ${{ matrix.php-versions }} PHPUnit Tests | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
php-versions: [ '8.1', '8.2' ] | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v3" | |
- name: "Set PHP version" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: ${{ matrix.php-versions }} | |
coverage: none | |
tools: phpunit, phpunit-polyfills, composer:v2 | |
env: | |
debug: true | |
- name: "Install dependencies" | |
run: "composer install" | |
- name: "PHPUnit Tests" | |
run: './vendor/bin/phpunit' |