Skip to content

github actions

github actions #8

Workflow file for this run

name: Tests
on: ['push', 'pull_request']
jobs:
ci:
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: xdebug
- name: Install Dependencies
run: composer install --dev --no-interaction --prefer-dist --optimize-autoloader
- name: Run tests
run: ./vendor/bin/pest