Skip to content

Merge pull request #3 from Spomky-Labs/dependabot/github_actions/acti… #24

Merge pull request #3 from Spomky-Labs/dependabot/github_actions/acti…

Merge pull request #3 from Spomky-Labs/dependabot/github_actions/acti… #24

Workflow file for this run

name: Unit and Functional Tests
on: [push]
jobs:
tests:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php-versions: ['8.2', '8.3']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, mbstring
coverage: xdebug
- name: Install Composer dependencies
run: |
composer update --no-progress --no-suggest --prefer-dist --optimize-autoloader
- name: Run tests
run: make tests