Skip to content

Composer / git phpunit tweaks (#8) #38

Composer / git phpunit tweaks (#8)

Composer / git phpunit tweaks (#8) #38

Workflow file for this run

name: Run Tests
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
symfony: [ '6.4.*', '7.4.*' ]
exclude:
- php: 8.1
symfony: '7.4.*'
name: PHP ${{ matrix.php }} / Symfony ${{ matrix.symfony }}
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, intl, pdo_mysql
ini-values: post_max_size=256M, upload_max_filesize=256M
- name: Set Symfony Version
run: echo "SYMFONY_REQUIRE=${{ matrix.symfony }}" >> $GITHUB_ENV
- name: Install Dependencies
run: composer install --prefer-dist --no-progress
- name: Run PHPUnit Tests
run: ./vendor/bin/phpunit