mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
GitLab Pages generation of test output
This commit is contained in:
@@ -32,4 +32,19 @@ test:php7.3-mysql8.0:
|
|||||||
- name: mysql:8.0
|
- name: mysql:8.0
|
||||||
command: ["mysqld", "--default-authentication-plugin=mysql_native_password"]
|
command: ["mysqld", "--default-authentication-plugin=mysql_native_password"]
|
||||||
image: php:7.3
|
image: php:7.3
|
||||||
script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html"
|
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
|
Reference in New Issue
Block a user