From bb4f46bc2d768357fb1696aa908518893ae6b5c9 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Wed, 22 Aug 2018 17:05:07 -0700 Subject: [PATCH] Explicit path to junit? --- .gitlab-ci.yml | 10 +++++----- phpunit.xml.dist | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc418af..87bf942 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ PHPunit:PHP5.3:MySQL: - phpunit artifacts: reports: - junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml + junit: /tmp/junit.xml PHPunit:PHP5.6:MySQL: image: containers.ethitter.com:443/docker/images/php:5.6 @@ -46,7 +46,7 @@ PHPunit:PHP5.6:MySQL: - phpunit artifacts: reports: - junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml + junit: /tmp/junit.xml PHPunit:PHP7.0:MySQL: image: containers.ethitter.com:443/docker/images/php:7.0 @@ -58,7 +58,7 @@ PHPunit:PHP7.0:MySQL: - phpunit artifacts: reports: - junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml + junit: /tmp/junit.xml PHPunit:PHP7.1:MySQL: image: containers.ethitter.com:443/docker/images/php:7.1 @@ -70,7 +70,7 @@ PHPunit:PHP7.1:MySQL: - phpunit artifacts: reports: - junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml + junit: /tmp/junit.xml PHPunit:PHP7.2:MySQL: image: containers.ethitter.com:443/docker/images/php:7.2 @@ -82,4 +82,4 @@ PHPunit:PHP7.2:MySQL: - phpunit artifacts: reports: - junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml + junit: /tmp/junit.xml diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d9af975..a972240 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -12,4 +12,7 @@ <directory prefix="test-" suffix=".php">./tests/</directory> </testsuite> </testsuites> + <logging> + <log type="junit" target="/tmp/junit.xml" /> + </logging> </phpunit> -- GitLab