Skip to content

phpunit

phpunit #18

Workflow file for this run

name: phpunit
# This test will run on every pull request, and on every commit on any branch
on:
push:
branches:
- main
pull_request:
schedule:
# Run tests every week (to check for rector changes)
- cron: '0 0 * * 0'
jobs:
tests:
name: 'PHPUnit | PHP ${{ matrix.php-version }}'
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "8.2"
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
tools: composer:v2
- run: composer install
- run: composer test