diff --git a/.github/workflows/test-module.yml b/.github/workflows/test-module.yml index ff647aa..be089b4 100644 --- a/.github/workflows/test-module.yml +++ b/.github/workflows/test-module.yml @@ -112,6 +112,7 @@ jobs: name: Coding standards checks needs: build runs-on: ubuntu-latest + continue-on-error: true strategy: fail-fast: false @@ -137,10 +138,13 @@ jobs: with: php-version: ${{ matrix.php-version }} - - name: Run coding standards checks - run: | - cd html - ./bin/phpcs -p ${{inputs.project_path}} + - name: Drupal PHPCS check with annotation + uses: guix77/phpcs-drupal-action@php8.3 + + # - name: Run coding standards checks + # run: | + # cd html + # ./bin/phpcs -p ${{inputs.project_path}} phpstan: name: Static analysis checks @@ -222,4 +226,4 @@ jobs: mkdir -p ./html/web/sites/simpletest && chmod 777 ./html/web/sites/simpletest sed -i "s#http://localgov.lndo.site#http://drupal#" ./html/phpunit.xml.dist docker exec -t drupal bash -c 'chown docker:docker -R /var/www/html' - docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 /var/www/html/${{inputs.project_path}}" \ No newline at end of file + docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 /var/www/html/${{inputs.project_path}}"