mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°6644 - Tests: Restore proper CI branch, unit tests run and fix a typo
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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> ...]
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user