Fix missing initial values in array_reduce calls (#17) #66
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
pint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
tools: composer:v2 | |
- name: Install Dependencies | |
run: composer install --no-interaction --prefer-dist --optimize-autoloader | |
- name: Run Pint (Code Style Check) | |
run: ./vendor/bin/pint --test | |
pest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
tools: composer:v2 | |
- name: Install Dependencies | |
run: composer install --no-interaction --prefer-dist --optimize-autoloader | |
- name: Setup environment | |
run: cp .env.example .env && php artisan key:generate | |
- name: Run Tests | |
run: ./vendor/bin/pest |