Skip to content

Merge pull request #99 from tighten/shift-101903 #125

Merge pull request #99 from tighten/shift-101903

Merge pull request #99 from tighten/shift-101903 #125

Workflow file for this run

name: Run Tests
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.1]
name: PHP:${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP, with composer
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Copy .env file
run: cp .env.example .env
- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --prefer-dist
- name: Generate application key
run: php artisan key:generate
- name: Run Unit tests
run: |
vendor/bin/phpunit