-
Notifications
You must be signed in to change notification settings - Fork 0
Add reusable GitHub Actions workflows for PHP linting and unit testing #5
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
base: main
Are you sure you want to change the base?
Conversation
This doesn't seem to be finished. Any update planned? |
789ee07
to
b0c8b12
Compare
sudo git clone -q --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-library.git /usr/share/icinga-php/ipl | ||
echo "Fetching the latest snapshot of icinga-php-thirdparty..." | ||
sudo git clone -q --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git /usr/share/icinga-php/vendor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They were installed at the standard location, so that icingacli can load them without additional configuration, just in case it's required in the CI, is there a specific reason you've cloned them now in vendor/?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, sorry, not, icingacli, phpstan baselines, phpstan config, See: https://github.com/Icinga/icingadb-web/blob/main/phpstan.neon#L18
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And they contain the standard location, so that the config is also valid if phpstan is run locally
Can we possibly prevent using new names for the jobs? We'd have to update all and every branch protection rule as a result… |
No description provided.