Skip to content

Feat: add pr checks

Feat: add pr checks #1

name: run-tests
on:
pull_request:
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --no-progress
- name: Run test suite
run: ./vendor/bin/phpunit tests/