Skip to content

Commit 89d25ff

Browse files
committed
[Demo] Fix workflow working dirs
1 parent 0f6fbb3 commit 89d25ff

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/integration-tests.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- uses: actions/checkout@v5
4242

4343
- name: Up the examples services
44-
run: cd examples && docker compose up -d
44+
working-directory: examples
45+
run: docker compose up -d
4546

4647
- name: Configure environment
4748
run: |
@@ -78,13 +79,17 @@ jobs:
7879
uses: ramsey/composer-install@v3
7980

8081
- name: Install examples dependencies
81-
run: cd examples && composer install && ../link
82+
working-directory: examples
83+
run: composer install && ../link
8284

8385
- name: Run commands examples
8486
run: php examples/commands/stores.php
8587

8688
demo:
8789
runs-on: ubuntu-latest
90+
defaults:
91+
run:
92+
working-directory: demo
8893

8994
steps:
9095
- uses: actions/checkout@v5
@@ -110,7 +115,7 @@ jobs:
110115
${{ runner.os }}-composer-demo-8.4
111116
112117
- name: Install demo dependencies
113-
run: cd demo && composer install --no-progress --no-interaction --ansi
118+
run: composer install --no-progress --no-interaction --ansi
114119

115120
- name: Run demo tests
116-
run: cd demo && vendor/bin/phpunit
121+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)