Skip to content

Merge pull request #8 from chinmaypurav/feat/no-future-dates-allowed-… #29

Merge pull request #8 from chinmaypurav/feat/no-future-dates-allowed-…

Merge pull request #8 from chinmaypurav/feat/no-future-dates-allowed-… #29

Workflow file for this run

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