From c1cdeba1d38cb898a7a7886d061d89d972021ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 25 Jun 2020 00:51:45 +0200 Subject: [PATCH] MAPG-94 save test results and save only the result xml as artifact --- .gitignore | 1 + bitbucket-pipelines.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9bdf82a..b0451a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env installed +unit_test_results.xml vendor diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 4bb8be5..2049a3d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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