N°6644 - Tests: Restore proper CI branch, unit tests run and fix a typo

This commit is contained in:
Molkobain
2025-12-17 11:00:41 +01:00
parent d9261b8342
commit 0b242d872a
3 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@@ -11,7 +11,7 @@ node(){
checkout scm checkout scm
infra = load '/var/lib/jenkins/workspace/itop-test-infra_6644-phpstan/src/Infra.groovy' infra = load '/var/lib/jenkins/workspace/itop-test-infra_master/src/Infra.groovy'
} }

View File

@@ -11,4 +11,4 @@ itop_backup=tests/backups/backup-itop.tar.gz
[phpunit] [phpunit]
; when empty phpunit_xml => no phpunit test performed ; when empty phpunit_xml => no phpunit test performed
; phpunit xml file description. required for phpunit testing ; phpunit xml file description. required for phpunit testing
;phpunit_xml=tests/php-unit-tests/phpunit.xml.dist phpunit_xml=tests/php-unit-tests/phpunit.xml.dist

View File

@@ -49,7 +49,7 @@ _Do this if you only want to analyse one or more modules within this iTop but no
- Run the following command - Run the following command
``` ```
tests/php-static-analysis/vendor/bin/phpstan analyse \ tests/php-static-analysis/vendor/bin/phpstan analyse \
--configuration ./tests/php-static-analysis/config/for-package.dist.neon \ --configuration ./tests/php-static-analysis/config/for-module.dist.neon \
--error-format raw \ --error-format raw \
env-production/<MODULE_CODE_1> [env-production/<MODULE_CODE_2> ...] env-production/<MODULE_CODE_1> [env-production/<MODULE_CODE_2> ...]
``` ```