Skip to content

Updated phpunit xml to use correct cache path (#62) #86

Updated phpunit xml to use correct cache path (#62)

Updated phpunit xml to use correct cache path (#62) #86

Workflow file for this run

name: PHP Composer
on:
push:
branches:
- master
# Run tests for any PRs.
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.1', '8.2', '8.3']
test-command: ['test']
name: Test PHP ${{ matrix.php-version }}
steps:
- uses: actions/checkout@v4
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v1
- name: Validate composer.json and composer.lock
run: |
composer --version
composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: composer run-script ${{ matrix.test-command }}