mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
commit
2897ba6365
@ -11,6 +11,9 @@ executors:
|
||||
php-81:
|
||||
docker:
|
||||
- image: thecodingmachine/php:8.1-v4-cli
|
||||
php-82:
|
||||
docker:
|
||||
- image: thecodingmachine/php:8.2-v4-cli
|
||||
jobs:
|
||||
"Code Style Analysis":
|
||||
executor: php-74
|
||||
@ -67,7 +70,7 @@ jobs:
|
||||
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
|
||||
resource_class: large
|
||||
test-with-real-projects:
|
||||
executor: php-81
|
||||
executor: php-82
|
||||
steps:
|
||||
- checkout # used here just for the side effect of loading the github public ssh key so we can clone other stuff
|
||||
- attach_workspace:
|
||||
|
@ -38,6 +38,7 @@ psl)
|
||||
cd endtoend-test-psl
|
||||
git checkout 2.3.x
|
||||
composer install
|
||||
sed 's/ErrorOutputBehavior::Packed, ErrorOutputBehavior::Discard/ErrorOutputBehavior::Discard/g' -i src/Psl/Shell/execute.php
|
||||
"$PSALM" --monochrome -c config/psalm.xml
|
||||
"$PSALM" --monochrome -c config/psalm.xml tests/static-analysis
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user