Skip to content

Merge pull request #13 from merkle-open/feat/php-8-1-support #8

Merge pull request #13 from merkle-open/feat/php-8-1-support

Merge pull request #13 from merkle-open/feat/php-8-1-support #8

Workflow file for this run

name: Twig Nitro Library
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: ['8.0', '8.1']
steps:
- name: Setup PHP ${{ matrix.php_version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
tools: composer
- name: Checkout
uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --dev --no-progress --no-suggest
- name: Run tests
run: vendor/bin/phpunit