From 9bbd802fce734161d957993cb89755fd284abf20 Mon Sep 17 00:00:00 2001 From: Marcus Moore <contact@marcusmoore.io> Date: Wed, 20 Nov 2024 12:33:58 -0800 Subject: [PATCH] Use database file for sqlite in GitHub Action for tests --- .github/workflows/tests-sqlite.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests-sqlite.yml b/.github/workflows/tests-sqlite.yml index 8bf0115169..220194314f 100644 --- a/.github/workflows/tests-sqlite.yml +++ b/.github/workflows/tests-sqlite.yml @@ -43,6 +43,9 @@ jobs: cp -v .env.testing.example .env cp -v .env.testing.example .env.testing + - name: Create database file + run: touch database/database.sqlite + - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist @@ -57,5 +60,5 @@ jobs: - name: Execute tests (Unit and Feature tests) via PHPUnit env: - DB_CONNECTION: sqlite_testing + DB_CONNECTION: sqlite run: php artisan test