Skip to content

Merge remote-tracking branch 'origin/main' #45

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #45

name: PHP Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP with Xdebug
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: xdebug
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: dependencies-composer-${{ hashFiles('composer.lock') }}
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-progress --prefer-dist --optimize-autoloader
- name: Execute tests
run: vendor/bin/pest