Skip to content
Snippets Groups Projects
Commit f471883f authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Codeception params

parent 6a23c46b
Branches
No related tags found
No related merge requests found
......@@ -438,18 +438,16 @@ library:
- cd ${APACHE_DOCUMENT_ROOT}
- wp core download ${WORDPRESS_CLI_PARAMETERS} --allow-root
- wp config create --dbhost=${MYSQL_IP} --dbname=wptest --dbuser=mysql --dbpass=mysql --allow-root
- wp config set WP_DEBUG true --raw --type=constant --allow-root
- cp -r /tmp/project/. ${APACHE_DOCUMENT_ROOT}/wp-content/plugins/${CI_PROJECT_NAME}
- chmod a+x ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh
- cd ${CI_PROJECT_DIR}
- . ./tests/codeception/bootstrap.sh
- wp config set WP_DEBUG true --raw --type=constant --allow-root
- mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/_output
- mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/acceptance
- mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/functional
- mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/unit
- chmod -R a+w ${APACHE_DOCUMENT_ROOT}/wp-content/uploads
- touch ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- chmod a+w ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- echo "End before"
script:
- vendor/bin/codecept run --steps --xml --html --debug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment