Skip to content

Commit 7c4aba1

Browse files
authored
Merge pull request #190 from kidunot89/devops/ga-script-fix
ci: add composer install step before running Docker tests
2 parents 12a3303 + a943af1 commit 7c4aba1

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
paths:
8-
- '**.php'
7+
- develop
98
pull_request:
109
branches:
1110
- master
@@ -27,6 +26,16 @@ jobs:
2726
- name: Checkout
2827
uses: actions/checkout@v4
2928

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

@@ -45,6 +54,16 @@ jobs:
4554
- name: Checkout
4655
uses: actions/checkout@v4
4756

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

0 commit comments

Comments
 (0)