Guess inverse relationship name if not provided #14
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
- release/** | |
jobs: | |
phpunit: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
env: | |
COMPOSER_NO_INTERACTION: 1 | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ "8.4", "8.3", "8.2", "8.1", "8.0", "7.4", "7.3" ] | |
name: phpunit (PHP:${{ matrix.php }}) | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: none | |
tools: composer:v2 | |
- name: Remove php-cs-fixer | |
run: composer remove friendsofphp/php-cs-fixer --dev --no-interaction --no-update | |
- name: Install Composer dependencies | |
run: composer install --no-interaction --prefer-dist --no-progress | |
- name: Run phpunit | |
run: composer test:ci |