Skip to content

Commit ab886b2

Browse files
author
lapaliv
committed
ci: phpunit fix
1 parent 8206fb6 commit ab886b2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: .github/workflows/check.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,17 @@ jobs:
4141
sudo -u postgres psql -c "CREATE USER test_user WITH PASSWORD 'test_password';"
4242
sudo -u postgres psql -c "CREATE DATABASE test_db OWNER test_user;"
4343
44+
- name: Cache Composer dependencies
45+
uses: actions/cache@v3
46+
with:
47+
path: /tmp/composer-cache
48+
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
49+
4450
- name: Install dependencies
4551
uses: php-actions/composer@v6
4652
with:
47-
args: --no-progress --no-suggest -n -q --prefer-dist
53+
php-version: ${{ matrix.php-version }}
54+
args: "--no-progress --no-suggest -n -q --prefer-dist"
4855

4956
- name: Run PHPUnit tests
5057
run: vendor/bin/phpunit --testdox

0 commit comments

Comments
 (0)