Skip to content

Add missing properties to promotion (#41) #141

Add missing properties to promotion (#41)

Add missing properties to promotion (#41) #141

Workflow file for this run

name: "🧪 Run PHPUnit tests"
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 7.2, 7.3, 7.4, 8.0, 8.1 ]
name: PHP - ${{ matrix.php }}
steps:
- name: "📥 Checkout code"
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: "🐘 Setup PHP"
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip
tools: composer:v2
- name: "📦 Install dependencies"
run: |
composer update --prefer-dist --no-interaction --no-progress
- name: "⚙️ Execute tests"
if: ${{ matrix.php >= 7.1 }}
run: vendor/bin/phpunit --verbose