Skip to content
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

GH Actions: various tweaks #83

Merged
merged 2 commits into from Nov 4, 2022
Merged

GH Actions: various tweaks #83

merged 2 commits into from Nov 4, 2022

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Nov 4, 2022

GH Actions: harden the workflow against PHPCS ruleset errors

If there is a ruleset error, the cs2pr action doesn't receive an xml report and exits with a 0 error code, even though the PHPCS run failed (though not on CS errors, but on a ruleset error).

This changes the GH Actions workflow to allow for that situation and still fail the build in that case.

GH Action: PHP 8.2 builds are no longer allowed to fail

Includes:

  • Removing the composer install toggle for PHP 8.2.
  • Adding a build against PHP 8.2 for PHPUnit 10.0.0.

If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a `0` error code, even though the PHPCS run failed (though not on CS errors, but on a ruleset error).

This changes the GH Actions workflow to allow for that situation and still fail the build in that case.
Includes:
* Removing the `composer install` toggle for PHP 8.2.
* Adding a build against PHP 8.2 for PHPUnit 10.0.0.
@jrfnl jrfnl added this to the 1.x Next Release milestone Nov 4, 2022
@jrfnl jrfnl merged commit 57b2f9a into develop Nov 4, 2022
@jrfnl jrfnl deleted the JRF/ghactions-various-tweaks branch November 4, 2022 01:30
@jrfnl jrfnl removed the yoastcs/qa label Mar 31, 2023
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.

None yet

1 participant