Skip to content

Feat: Update Config

Feat: Update Config #9

name: "Continuous Integration"
on: [push]
jobs:
build:
name: "PHP ${{ matrix.php }} - ${{ matrix.stability }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
php: [8.3, 8.2]
stability: [prefer-lowest, prefer-stable]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
- name: Install dependencies
run: |
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D
- name: Execute tests
run: "vendor/bin/phpunit"