Skip to content

Commit 0a3bca0

Browse files
authored
Merge pull request #15860 from marcusmoore/tests/switch-to-file-for-sqlite-in-action
Improved speed of sqlite tests in GitHub Actions
2 parents 5522def + 9bbd802 commit 0a3bca0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tests-sqlite.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
cp -v .env.testing.example .env
4444
cp -v .env.testing.example .env.testing
4545
46+
- name: Create database file
47+
run: touch database/database.sqlite
48+
4649
- name: Install Dependencies
4750
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
4851

@@ -57,5 +60,5 @@ jobs:
5760

5861
- name: Execute tests (Unit and Feature tests) via PHPUnit
5962
env:
60-
DB_CONNECTION: sqlite_testing
63+
DB_CONNECTION: sqlite
6164
run: php artisan test

0 commit comments

Comments
 (0)