Lullabot / drupal9ci

Command Line Interface for implementing Continuous Integration in Drupal 9
GNU General Public License v3.0
161 stars 55 forks source link

Annotations for code-standards #50

Open guix77 opened 4 years ago

guix77 commented 4 years ago

Hi,

Unless I'm making a mistake, there are no annotations for code-standards. Which means that when it fails, there's no report of the actual code-standards issues.

Would be nice to have :)

fjgarlin commented 3 years ago

What do you mean exactly? I got the output to show by default. Here is an example of a failing coding standard check where I can see the output of what's failing: https://travis-ci.com/github/fjgarlin/d9-lagoon/jobs/496434366

guix77 commented 3 years ago

With annotations, lint problems are directly reported to GitHub so you don't have to go through the job log. Example: https://github.com/guix77/d8sandbox/actions/runs/178143997

Feel free to close this issue, on my side I created my own GitHub action: https://github.com/guix77/phpcs-drupal-action