Skip to content

Merge pull request #221 from fightbulc/feature/php7.1 #22

Merge pull request #221 from fightbulc/feature/php7.1

Merge pull request #221 from fightbulc/feature/php7.1 #22

Workflow file for this run

name: "Integrate"
on:
pull_request: null
push:
branches:
- "master"
jobs:
tests:
name: "Tests"
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
- "8.2"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}'"
- name: "Validate composer.json and composer.lock"
run: "composer validate --ansi"
- name: "Install dependencies with composer"
run: "composer install --ansi --prefer-dist --no-progress"
- name: "Run tests with phpunit/phpunit"
run: "vendor/bin/phpunit --colors=always --configuration=tests/phpunit.xml"