Skip to content

Commit 580c325

Browse files
authored
chore: config discovery and caching (#608)
1 parent 2acdf9a commit 580c325

File tree

22 files changed

+82
-14
lines changed

22 files changed

+82
-14
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ CACHE=null
1111
# Enable or disable discovery cache
1212
DISCOVERY_CACHE=false
1313

14+
# Enable or disable config cache
15+
CONFIG_CACHE=false
16+
1417
# Enable or disable view cache
1518
VIEW_CACHE=false
1619

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
uses: ankane/setup-postgres@v1
5959

6060
- name: Set database config - ${{ matrix.database }}
61-
run: php -r "file_exists('tests/Fixtures/Config/database.php') || copy('tests/Fixtures/Config/database.${{ matrix.database }}.php', 'tests/Fixtures/Config/database.php');"
61+
run: php -r "file_exists('tests/Fixtures/Config/database.config.php') || copy('tests/Fixtures/Config/database.config.${{ matrix.database }}.php', 'tests/Fixtures/Config/database.config.php');"
6262

6363
- name: List Discovered Locations
6464
run: php ./tempest discovery:status

.github/workflows/quality-assurance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
uses: ankane/setup-postgres@v1
129129

130130
- name: Set database config - ${{ matrix.database }}
131-
run: php -r "file_exists('tests/Fixtures/Config/database.php') || copy('tests/Fixtures/Config/database.${{ matrix.database }}.php', 'tests/Fixtures/Config/database.php');"
131+
run: php -r "file_exists('tests/Fixtures/Config/database.config.php') || copy('tests/Fixtures/Config/database.${{ matrix.database }}.php', 'tests/Fixtures/Config/database.config.php');"
132132

133133
- name: List Discovered Locations
134134
run: php ./tempest discovery:status

.github/workflows/quality-control.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
uses: ankane/setup-postgres@v1
132132

133133
- name: Set database config - ${{ matrix.database }}
134-
run: php -r "file_exists('tests/Fixtures/Config/database.php') || copy('tests/Fixtures/Config/database.${{ matrix.database }}.php', 'tests/Fixtures/Config/database.php');"
134+
run: php -r "file_exists('tests/Fixtures/Config/database.config.php') || copy('tests/Fixtures/Config/database.${{ matrix.database }}.php', 'tests/Fixtures/Config/database.config.php');"
135135

136136
- name: List Discovered Locations
137137
run: php ./tempest discovery:status
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)