Skip to content

Commit 1048dab

Browse files
author
justin
committed
Install composer packages in the integration tests step as well
1 parent c91bec0 commit 1048dab

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ jobs:
3434
- name: Validate composer.json and composer.lock
3535
run: composer validate --strict
3636

37-
- name: Cache Composer packages
38-
id: composer-cache
39-
uses: actions/cache@v2
40-
with:
41-
path: vendor
42-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
43-
restore-keys: |
44-
${{ runner.os }}-php-
45-
4637
- name: Install dependencies
4738
run: composer install --prefer-dist --no-progress
4839

@@ -67,6 +58,18 @@ jobs:
6758
php-version: ['8.1', '8.2', '8.3']
6859

6960
steps:
61+
- uses: actions/checkout@v4
62+
63+
- name: Setup PHP
64+
uses: shivammathur/setup-php@v2
65+
with:
66+
php-version: ${{ matrix.php-version }}
67+
coverage: xdebug
68+
extensions: dom
69+
70+
- name: Install dependencies
71+
run: composer install --prefer-dist --no-progress
72+
7073
- name: Run test suite
7174
run: |
7275
if [[ ${{ matrix.php-version }} == '8.1' ]]; then

0 commit comments

Comments
 (0)