Merge pull request #623 from tomcoonen/feature/force-login #124
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: Run phpunit | |
on: [push] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
php-versions: [ '7.4', '8.0', '8.1', '8.2' ] | |
name: PHP ${{ matrix.php-versions }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: PHP version check | |
run: php -v | |
- name: Composer install | |
run: composer install --prefer-dist --no-interaction --no-progress --no-suggest | |
- name: Run tests | |
run: vendor/bin/phpunit |