From aee33b6bb56848475ba1eac9f130e438faa5d675 Mon Sep 17 00:00:00 2001 From: Deltik Date: Fri, 29 Mar 2019 11:15:46 -0500 Subject: [PATCH] GitLab Pages generation of test output --- .gitlab-ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22d524af7..8414d5d8e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,4 +32,19 @@ test:php7.3-mysql8.0: - name: mysql:8.0 command: ["mysqld", "--default-authentication-plugin=mysql_native_password"] image: php:7.3 - script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html" \ No newline at end of file + script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html" + artifacts: + paths: + - ./tests/_output/ + +pages: + stage: deploy + dependencies: + - test:php7.3-mysql8.0 + script: + - mv ./tests/_output/ ./public/ + artifacts: + paths: + - ./public/ + only: + - master \ No newline at end of file