Skip to content

Commit

Permalink
Lock extensions for 1.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
herndlm committed Jan 17, 2023
1 parent 44a338f commit a9fd9ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/extension-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,24 @@ jobs:
- "8.1"
- "8.2"
extension-name:
- "phpstan-phpunit"
- "phpstan-strict-rules"
- "phpstan-phpunit bf47c49afb7dc6e897d1f3c9b61b4bd82cc4d6e6"
- "phpstan-strict-rules a606515d75bb2f996e1488c267630a7367544480"
- "phpstan-mockery"
- "phpstan-doctrine"
- "phpstan-doctrine 4534559a8c08ab3648c6fa09289478780e190ae7"
- "phpstan-symfony"
- "phpstan-php-parser"
- "phpstan-deprecation-rules"
- "phpstan-deprecation-rules 0f05c71ae0200620b68b00c32d5f6f530650a74b"
- "phpdoc-parser"
- "phpstan-nette"
- "phpstan-dibi"
- "phpstan-webmozart-assert"
- "phpstan-webmozart-assert a1dfe1fef24e8ca78b79a2f16f82d4083fcafb10"
- "phpstan-beberlei-assert"
exclude:
- extension-name: "phpstan-mockery"
php-version: "7.2"
- extension-name: "phpstan-phpunit"
- extension-name: "phpstan-phpunit bf47c49afb7dc6e897d1f3c9b61b4bd82cc4d6e6"
php-version: "7.2"
- extension-name: "phpstan-doctrine"
- extension-name: "phpstan-doctrine 4534559a8c08ab3648c6fa09289478780e190ae7"
php-version: "7.2"

steps:
Expand Down
6 changes: 5 additions & 1 deletion e2e/test-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ set -o errexit
set -o pipefail
set -o nounset

git clone https://github.com/phpstan/$1.git extension
git clone "https://github.com/phpstan/$1.git" extension
cd extension

if [[ $# -eq 2 ]]; then
git checkout "$2"
fi;

if [[ "$PHP_VERSION" == "7.2" ]]; then
if [[ "$1" == "phpstan-mockery" ]]; then
composer require --dev phpunit/phpunit:'^8.5.31' mockery/mockery:^1.3 --update-with-dependencies
Expand Down

0 comments on commit a9fd9ff

Please sign in to comment.