Skip to content
Snippets Groups Projects

Resolve #3400366 "Remove drupalcomponenttestlistenertrait and"

Compare and
14 files
+ 337
40
Compare changes
  • Side-by-side
  • Inline
Files
14
+ 30
1
# cspell:ignore drupaltestbot drupaltestbotpw
# cspell:ignore cobertura drupaltestbot drupaltestbotpw
stages:
- 🗜️ Test
@@ -173,6 +173,35 @@ variables:
TESTSUITE: PHPUnit-Unit
KUBERNETES_CPU_REQUEST: "16"
'✅️ PHPStan Tests':
<<: [ *default-job-settings ]
variables:
KUBERNETES_CPU_REQUEST: "2"
# Run if PHPStan files have changed, or manually.
rules:
- if: $CI_PIPELINE_SOURCE == "parent_pipeline" && $PERFORMANCE_TEST != "1"
changes:
- core/tests/PHPStan/*
- composer/Metapackage/PinnedDevDependencies/composer.json
- when: manual
allow_failure: true
# Default job settings runs a script that expects vendor to exist.
before_script: []
script:
- docker-php-ext-enable pcov
- cd core/tests/PHPStan
- composer install
- vendor/bin/phpunit tests --coverage-text --colors=never --coverage-cobertura=coverage.cobertura.xml --log-junit junit.xml
# Default job settings runs a script that junit files in a specific location..
after_script: []
artifacts:
when: always
reports:
junit: core/tests/PHPStan/junit.xml
coverage_report:
coverage_format: cobertura
path: core/tests/PHPStan/coverage.cobertura.xml
'🦉️️️ Nightwatch':
<<: [ *with-composer-and-yarn, *default-job-settings ]
variables:
Loading