Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/test-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
name: Coding standards checks
needs: build
runs-on: ubuntu-latest
continue-on-error: true

strategy:
fail-fast: false
Expand All @@ -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/[email protected]

# - name: Run coding standards checks
# run: |
# cd html
# ./bin/phpcs -p ${{inputs.project_path}}

phpstan:
name: Static analysis checks
Expand Down Expand Up @@ -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}}"
docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 /var/www/html/${{inputs.project_path}}"