Skip to content

Package installation tests #16

Package installation tests

Package installation tests #16

name: Package installation tests
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- "8.1"
- "8.2"
- "8.3"
laravel:
- "^9.0"
- "^10.0"
name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}
steps:
- name: Setup PHP, with composer
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- run: composer create-project laravel/laravel:${{ matrix.laravel }} ./
# TODO After the dependency issues written in the README are resolved, modify to the normal installation method.
- run: composer require kentaroutakeda/laravel-openapi-validator --no-interaction --no-progress --with-dependencies --ansi
- run: vendor/bin/phpunit