Skip to content

Merge pull request #336 from jbroadway/github-actions #7

Merge pull request #336 from jbroadway/github-actions

Merge pull request #336 from jbroadway/github-actions #7

Workflow file for this run

name: "Continuous Integration"
on:
- push
- pull_request
env:
COMPOSER_FLAGS: "--no-interaction --prefer-source"
jobs:
tests:
name: "CI"
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
dependencies: [highest]
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
- name: "Install dependencies"
run: |
composer update ${{ env.COMPOSER_FLAGS }}
- name: "Run tests"
run: "composer exec phpunit -- --verbose"