Skip to content

Merge https://github.com/DEVizzent/cebe-php-openapi #2

Merge https://github.com/DEVizzent/cebe-php-openapi

Merge https://github.com/DEVizzent/cebe-php-openapi #2

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
phpunit:
name: Tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php:
- "8.4"
- "8.5"
dependencies:
- "lowest"
- "highest"
symfony-yaml: ["^6", "^7", "^8"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
tools: composer:v2
- name: Require specific symfony/yaml version
run: "composer require symfony/yaml:'${{ matrix.symfony-yaml }}' --no-interaction --ansi --no-install"
- name: "Install dependencies with Composer"
uses: ramsey/composer-install@v2
with:
dependency-versions: "${{ matrix.dependencies }}"
- name: Validate test data
run: make lint
- name: PHPUnit tests
run: make test
- name: Code coverage
run: make coverage