MAPG-94 save test results and save only the result xml as artifact

This commit is contained in:
Bence Pőcze 2020-06-25 00:51:45 +02:00
parent 255168ffb6
commit c1cdeba1d3
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

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

View File

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