Skip to content

Update README.md to clarify tool generation commands. #183

Update README.md to clarify tool generation commands.

Update README.md to clarify tool generation commands. #183

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- "*.x"
pull_request:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.2, 8.3, 8.4]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
- name: Run test suite
uses: php-actions/phpunit@v4
env:
XDEBUG_MODE: coverage
with:
php_extensions: "xdebug"