Skip to content

Enhancement: Run tests on PHP 7.1 #21

Enhancement: Run tests on PHP 7.1

Enhancement: Run tests on PHP 7.1 #21

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"