Skip to content

Commit 9c33168

Browse files
committed
ci: add composer install step before running Docker tests
1 parent 12a3303 commit 9c33168

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ jobs:
2727
- name: Checkout
2828
uses: actions/checkout@v4
2929

30+
- name: Setup PHP
31+
uses: shivammathur/setup-php@v2
32+
with:
33+
php-version: ${{ matrix.php }}
34+
extensions: mbstring, intl
35+
tools: composer
36+
37+
- name: Install dependencies
38+
run: composer install --no-interaction
39+
3040
- name: Setup environment
3141
run: cp .env.dist .env
3242

@@ -45,6 +55,16 @@ jobs:
4555
- name: Checkout
4656
uses: actions/checkout@v4
4757

58+
- name: Setup PHP
59+
uses: shivammathur/setup-php@v2
60+
with:
61+
php-version: 8.2
62+
extensions: mbstring, intl
63+
tools: composer
64+
65+
- name: Install dependencies
66+
run: composer install --no-interaction
67+
4868
- name: Setup environment
4969
run: cp .env.dist .env
5070

0 commit comments

Comments
 (0)