feat: Added Custom Error in API Base Controller #17
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: Run Test for Pull Request | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Latest Codebase | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
ini-values: error_reporting=E_ALL | |
tools: composer:v2 | |
coverage: none | |
- name: Install dependencies | |
run: composer install --no-interaction --prefer-dist | |
- name: Execute tests | |
run: vendor/bin/phpunit |