Fix typos #95
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 Tests | |
on: [push] | |
jobs: | |
laravel-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Copy ENV Laravel Configuration for CI | |
run: php -r "file_exists('.env') || copy('.env.ci', '.env');" | |
- name: Install Dependencies (PHP vendors) | |
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 DB and schemas | |
run: | | |
mkdir -p database | |
touch database/database.sqlite | |
php artisan migrate | |
- name: Execute tests (Unit and Feature tests) via PHPUnit | |
run: vendor/bin/phpunit |