Allow "symfony/deprecation-contracts": "^2.2.0|^3.0" #95
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
unitTests: | |
strategy: | |
max-parallel: 6 | |
matrix: | |
phpVersion: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
name: Linux / PHP ${{ matrix.phpVersion }} | |
steps: | |
- name: Checkout changes | |
uses: actions/checkout@v4 | |
- name: Install NPM dependencies | |
run: | | |
sudo apt-get -y install jpegoptim libjpeg-progs optipng | |
npm install | |
- name: Install Tailwind CSS Standalone CLI | |
uses: supplypike/setup-bin@v4 | |
with: | |
uri: 'https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.4/tailwindcss-linux-x64' | |
name: 'tailwindcss' | |
version: '3.4.4' | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.phpVersion }} | |
tools: composer | |
extensions: curl, mbstring, xml | |
- name: Install Composer dependencies | |
run: composer install --no-interaction --no-progress --no-suggest | |
- name: Setup problem matchers for PHPUnit | |
if: matrix.phpVersion == '8.3' | |
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
- name: Run tests | |
run: ./bin/phpunit |