Skip to content

Commit 7746b34

Browse files
committed
Install composer dependencies before running php unit tests
1 parent 717f791 commit 7746b34

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/unit-tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ jobs:
2929
node-version-file: '.nvmrc'
3030
cache: npm
3131

32+
- name: Setup PHP
33+
uses: shivammathur/setup-php@v2
34+
with:
35+
php-version: 7.2
36+
extensions: mbstring, intl
37+
38+
- name: Install composer dependencies
39+
run: |
40+
composer validate
41+
composer install
42+
3243
- name: Npm install and build
3344
run: |
3445
npm ci

0 commit comments

Comments
 (0)