Skip to content

Fix Syntax - Handler Registeration .md #155

Fix Syntax - Handler Registeration .md

Fix Syntax - Handler Registeration .md #155

Workflow file for this run

##################################################################################
#
# Laravel API Response Builder Unit tests Github Action config
#
# @author Marcin Orlowski <mail (#) marcinOrlowski (.) com>
# @copyright 2016-2023 Marcin Orlowski
# @license http://www.opensource.org/licenses/mit-license.php MIT
# @link https://github.com/MarcinOrlowski/laravel-api-response-builder
#
##################################################################################
name: "Unit Tests"
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
- "dev"
jobs:
tests:
strategy:
# do not stop the workflow if single run failed
fail-fast: false
matrix:
# quotes are needed it is treated as a number and zero at decimal part is gone
# at runtime i.e. 8.10 -> 8.1, while "8.10" => "8.10".
laravel: ["10.0"]
php: ["8.1"]
runs-on: ubuntu-latest
steps:
- name: "Checkout repository..."
uses: actions/checkout@v4
# https://github.com/marketplace/actions/composer-php-actions
- name: "Installing dependencies..."
uses: php-actions/composer@v6
with:
version: 2
php_version: "${{ matrix.php }}"
dev: yes
# https://github.com/marketplace/actions/phpunit-php-actions
- name: "Running PHPUnit..."
uses: php-actions/phpunit@v3
with:
bootstrap: "vendor/autoload.php"
configuration: "tests/phpunit.xml"
# version: "10.0.89"
# memory_limit: "16M"
php_version: "${{ matrix.php }}"