Skip to content

A free open source IT asset/license management system

Use database file for sqlite in GitHub Action for tests

Marcus Moore9bbd802fce73
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