Skip to content

feat: use empty command for nothing to check #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

boesing
Copy link
Member

@boesing boesing commented Apr 8, 2021

Q A
New Feature yes

Description

Currently, the matrix generation creates the command echo 'No checks discovered'.
Somehow, the .laminas-ci.json content is not merged and thus, the check fails when an extension is required to run.

Imho, there should be some kind of "early success" when there is nothing to check. Thus, neither a checkout nor composer install should be performed.

With this PR, I'd like to introduce that empty strings for the command will result in a "nothing to do" secnario and thus exiting with a successful exit code .

Copy link
Member

@weierophinney weierophinney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@weierophinney weierophinney added this to the 1.6.0 milestone Apr 8, 2021
@weierophinney weierophinney merged commit a968871 into laminas:1.6.x Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants