Pairity/.github/workflows/ci.yml
Funky Waddle 61cefca113
Some checks failed
CI / test (8.2) (push) Has been cancelled
CI / test (8.3) (push) Has been cancelled
CI / test (8.4) (push) Has been cancelled
Fix issues with missing classes when being tested in Github Actions
2026-02-08 02:48:39 -06:00

38 lines
817 B
YAML

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.2', '8.3', '8.4' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: pdo, pdo_sqlite, pdo_mysql, pdo_pgsql, pdo_sqlsrv
coverage: none
- name: Install dependencies
run: |
composer install --no-interaction --prefer-dist
- name: Initialize Pairity
run: |
bin/pairity init
bin/pairity make:model tests/Fixtures/schema
- name: Run tests
run: |
vendor/bin/phpunit --colors=always