Skip to content

Commit 07c9204

Browse files
authored
Update laravel.yml
1 parent b15ecc6 commit 07c9204

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/laravel.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16+
- uses: harmon758/postgresql-action@v1
17+
with:
18+
postgresql version: '11'
1619
- name: Copy .env
1720
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
1821
- name: Install Dependencies
1922
run: |
2023
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}"
2124
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
22-
- name: Create Database
23-
run: |
24-
mkdir -p database
25-
touch database/database.sqlite
2625
- name: Execute tests (Unit and Feature tests) via PHPUnit
27-
env:
28-
DB_CONNECTION: sqlite
29-
DB_DATABASE: database/database.sqlite
3026
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)