Skip to content

Commit

Permalink
Update testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pingevt committed Apr 12, 2024
1 parent 4e1bd9c commit d84eaab
Showing 1 changed file with 11 additions and 20 deletions.
31 changes: 11 additions & 20 deletions .github/workflows/drupal-tests-and-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,9 @@ jobs:
fail-fast: false
matrix:
drupal-core: ['10.1.x', '10.2.x', '10.3.x']
php-version: ['8.0', '8.1', '8.2']
php-version: ['8.1', '8.2']
mariadb-version: ['10.4', '10.6']
exclude:
-
drupal-core: '10.0.x'
php-version: '8.0'
mariadb-version: '10.4'
-
drupal-core: '10.0.x'
php-version: '8.0'
mariadb-version: '10.6'
-
drupal-core: '10.1.x'
php-version: '8.0'
mariadb-version: '10.4'
-
drupal-core: '10.1.x'
php-version: '8.0'
mariadb-version: '10.6'
exclude: []

container:
# See https://github.com/tuutti/docker-images/tree/main/drupal/ci
Expand Down Expand Up @@ -125,12 +109,19 @@ jobs:
site-install minimal --db-url="$SIMPLETEST_DB"
vendor/bin/drush en $DRUPAL_MODULE_NAME -y
- name: Set PHPCS config vars
working-directory: ${{ env.DRUPAL_ROOT }}
continue-on-error: true
run: |
./vendor/bin/phpcs --config-set ignore_warnings_on_exit 1
./vendor/bin/phpcs --config-set ignore_errors_on_exit 1
- name: Run PHPCS
working-directory: ${{ env.DRUPAL_ROOT }}
continue-on-error: true
run: |
vendor/bin/phpcs --report=Bluecadet\\PHPCS\\Report\\MarkdownGithub -s --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt --ignore=node_modules,bower_components,vendor,dist --exclude=Drupal.InfoFiles.AutoAddedKeys --colors $MODULE_FOLDER
vendor/bin/phpcs --report=Bluecadet\\PHPCS\\Report\\MarkdownGithub -s --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt --ignore=node_modules,bower_components,vendor,dist --exclude=Drupal.InfoFiles.AutoAddedKeys --colors $MODULE_FOLDER
vendor/bin/phpcs --report=Bluecadet\\PHPCS\\Report\\MarkdownGithub -s --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt --ignore=node_modules,bower_components,vendor,dist --exclude=Drupal.InfoFiles.AutoAddedKeys --colors $MODULE_FOLDER >> $GITHUB_STEP_SUMMARY
vendor/bin/phpcs --report=Bluecadet\\PHPCS\\Report\\MarkdownGithub -s --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt --ignore=node_modules,bower_components,vendor,dist --exclude=Drupal.InfoFiles.AutoAddedKeys --colors $MODULE_FOLDER >> $GITHUB_STEP_SUMMARY
- name: Run Drupal-Check
working-directory: ${{ env.DRUPAL_ROOT }}
Expand Down

0 comments on commit d84eaab

Please sign in to comment.