Merged in feature/MAPG-94-unittest-output (pull request #150)

MAPG-94 save test results and save only the result xml as artifact
This commit is contained in:
Bence Pőcze 2020-06-25 08:17:45 +00:00
commit 79bd5b98d5
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.env .env
installed installed
unit_test_results.xml
vendor vendor

View File

@ -7,9 +7,9 @@ pipelines:
caches: caches:
- composer - composer
artifacts: artifacts:
- vendor/** - unit_test_results.xml
script: script:
- apt-get update && apt-get install -y unzip - apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install - composer install
- vendor/bin/phpunit --testdox tests - vendor/bin/phpunit --log-junit unit_test_results.xml --testdox tests