1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

GitLab Pages generation of test output

This commit is contained in:
Deltik
2019-03-29 11:15:46 -05:00
parent 888c559e4c
commit aee33b6bb5

View File

@@ -33,3 +33,18 @@ test:php7.3-mysql8.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"
artifacts:
paths:
- ./tests/_output/
pages:
stage: deploy
dependencies:
- test:php7.3-mysql8.0
script:
- mv ./tests/_output/ ./public/
artifacts:
paths:
- ./public/
only:
- master