decorate workflow

pull/702/head
fadrian06 2 days ago
parent b068acae84
commit 82430882f0

@ -1,9 +1,9 @@
name: Pull Request Check name: 🚀 Pull Request Check 🔍
on: [pull_request] on: [pull_request]
jobs: jobs:
unit-test: unit-test:
name: Unit testing name: 🧪 Unit Testing - PHP ${{ matrix.php }} on ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -11,15 +11,17 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout repository - name: 📂 Checkout repository
uses: actions/checkout@v6 uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: shivammathur/setup-php@v2 - name: 🐘 Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php }} php-version: ${{ matrix.php }}
extensions: mbstring, pdo_sqlite, fileinfo extensions: mbstring, pdo_sqlite, fileinfo
tools: composer:v2 tools: composer:v2
- run: | - name: 📦 Install dependencies and 🧪 Run tests
run: |
composer install --no-progress --no-ansi -n composer install --no-progress --no-ansi -n
composer test -- --colors=never --no-interaction composer test -- --colors=never --no-interaction

Loading…
Cancel
Save