mirror of https://github.com/flightphp/core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1020 B
28 lines
1020 B
name: 🚀 Pull Request Check 🔍
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
unit-test:
|
|
name: 🧪 Unit Testing - PHP ${{ matrix.php }} on ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: 📂 Checkout repository
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: 🐘 Setup PHP ${{ matrix.php }}
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php }}
|
|
extensions: mbstring, pdo_sqlite, fileinfo
|
|
tools: composer:v2
|
|
- name: 📦 Install dependencies and 🧪 Run tests
|
|
run: |
|
|
composer install --no-progress --no-ansi -n
|
|
composer test -- --colors=never --no-interaction
|