Skip to content

Commit d8df89f

Browse files
committed
fix: Make sure GitHub Actions PHPStan uses right sources
1 parent 9b7c930 commit d8df89f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/static-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ jobs:
5858
test -f /tmp/magento/phpstan.neon || echo 'parameters:' > /tmp/magento/phpstan.neon
5959
echo "Testing for PHPStan level $PHPSTAN_LEVEL"
6060
cd /tmp/magento
61-
php -d memory_limit=4G vendor/bin/phpstan analyse --level $PHPSTAN_LEVEL ${GITHUB_WORKSPACE}
61+
export MODULE_PATH=$(realpath vendor/${COMPOSER_NAME})
62+
php -d memory_limit=4G vendor/bin/phpstan analyse --level $PHPSTAN_LEVEL $MODULE_PATH
6263

0 commit comments

Comments
 (0)