File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 41
41
- uses : actions/checkout@v5
42
42
43
43
- name : Up the examples services
44
- run : cd examples && docker compose up -d
44
+ working-directory : examples
45
+ run : docker compose up -d
45
46
46
47
- name : Configure environment
47
48
run : |
@@ -78,13 +79,17 @@ jobs:
78
79
uses : ramsey/composer-install@v3
79
80
80
81
- name : Install examples dependencies
81
- run : cd examples && composer install && ../link
82
+ working-directory : examples
83
+ run : composer install && ../link
82
84
83
85
- name : Run commands examples
84
86
run : php examples/commands/stores.php
85
87
86
88
demo :
87
89
runs-on : ubuntu-latest
90
+ defaults :
91
+ run :
92
+ working-directory : demo
88
93
89
94
steps :
90
95
- uses : actions/checkout@v5
@@ -110,7 +115,7 @@ jobs:
110
115
${{ runner.os }}-composer-demo-8.4
111
116
112
117
- name : Install demo dependencies
113
- run : cd demo && composer install --no-progress --no-interaction --ansi
118
+ run : composer install --no-progress --no-interaction --ansi
114
119
115
120
- name : Run demo tests
116
- run : cd demo && vendor/bin/phpunit
121
+ run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments