File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ APP_NAME = " Open Brewery DB API"
2
+ APP_KEY =
Original file line number Diff line number Diff line change 24
24
test-app :
25
25
needs : lint-app
26
26
runs-on : ubuntu-24.04
27
+ services :
28
+ meilisearch :
29
+ image : getmeili/meilisearch:v1.10
30
+ ports :
31
+ - 7700:7700
32
+ env :
33
+ MEILI_MASTER_KEY : masterKey
34
+ MEILI_NO_ANALYTICS : true
27
35
steps :
28
36
- name : Checkout
29
37
uses : actions/checkout@v4
@@ -42,13 +50,17 @@ jobs:
42
50
run : composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
43
51
44
52
- name : Copy Environment File
45
- run : cp .env.example .env
53
+ run : cp .env.ci .env
46
54
47
55
- name : Generate App Key
48
56
run : php artisan key:generate
49
57
50
58
- name : Run Tests
51
59
run : php artisan test --parallel
60
+ env :
61
+ SCOUT_DRIVER : meilisearch
62
+ MEILISEARCH_HOST : 127.0.0.1:7700
63
+ MEILISEARCH_KEY : masterKey
52
64
53
65
build-image :
54
66
# needs: [lint-app, test-app]
Original file line number Diff line number Diff line change 103
103
$ cacheControl = $ response ->headers ->get ('Cache-Control ' );
104
104
expect ($ cacheControl )->toContain ('public ' );
105
105
expect ($ cacheControl )->toContain ('max-age= ' );
106
- expect ($ cacheControl )->toContain ('etag ' );
107
106
});
You can’t perform that action at this time.
0 commit comments