Skip to content

GH Actions: various tweaks#83

Merged
jrfnl merged 2 commits into
developfrom
JRF/ghactions-various-tweaks
Nov 4, 2022
Merged

GH Actions: various tweaks#83
jrfnl merged 2 commits into
developfrom
JRF/ghactions-various-tweaks

Conversation

@jrfnl

@jrfnl jrfnl commented Nov 4, 2022

Copy link
Copy Markdown
Collaborator

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.

jrfnl added 2 commits October 23, 2022 12:13
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.

1 participant