PHP Classes

File: .github/workflows/laravel.yml

Recommend this page to a friend!
  Classes of Bhavin Gajjar   Laravel API Generator   .github/workflows/laravel.yml   Download  
File: .github/workflows/laravel.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel API Generator
Generate a REST API from a Laravel model
Author: By
Last change:
Date: 2 years ago
Size: 707 bytes


Class file image Download
name: Laravel on: [push] jobs: laravel-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Copy .env run: php -r "file_exists('.env') || copy('.env.example', '.env');" - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist - name: Generate key run: php artisan key:generate - name: Create Database run: | mkdir -p database touch database/database.sqlite - name: Execute tests (Unit and Feature tests) via PHPUnit env: DB_CONNECTION: sqlite DB_DATABASE: database/database.sqlite run: vendor/bin/phpunit