Skip to content

Readme

Readme #15

Workflow file for this run

name: Tests
on:
pull_request: ~
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ matrix.os }}
- 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