Update to support laravel 11 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: continuous-integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
phpversion: [ 8.2, 8.3 ] | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.phpversion }} | |
extension-csv: mbstring,bcmath,curl,gettext,exif,intl | |
ini-values-csv: pcov.directory=./src/ | |
coverage: pcov | |
- name: Composer install | |
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader | |
- name: PHP Coding Standards | |
run: composer run ecs | |
- name: PHPUnit | |
run: ./vendor/bin/phpunit --coverage-clover=coverage.clover | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: wt-health/laravel-json-schema-request | |
files: ./coverage.clover |