Skip to content

Commit

Permalink
ci: phpunit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lapaliv committed Dec 27, 2024
1 parent 8206fb6 commit ab886b2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,17 @@ jobs:
sudo -u postgres psql -c "CREATE USER test_user WITH PASSWORD 'test_password';"
sudo -u postgres psql -c "CREATE DATABASE test_db OWNER test_user;"
- name: Cache Composer dependencies
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- name: Install dependencies
uses: php-actions/composer@v6
with:
args: --no-progress --no-suggest -n -q --prefer-dist
php-version: ${{ matrix.php-version }}
args: "--no-progress --no-suggest -n -q --prefer-dist"

- name: Run PHPUnit tests
run: vendor/bin/phpunit --testdox
Expand Down

0 comments on commit ab886b2

Please sign in to comment.