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

Codeception params

parent ed9c245c
No related branches found
No related tags found
No related merge requests found
......@@ -438,13 +438,13 @@ library:
- 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
- rm ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- chmod o+w ${APACHE_DOCUMENT_ROOT}/wp-content
- chmod g+w ${APACHE_DOCUMENT_ROOT}/wp-content
- 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
- rm ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- chmod o+w ${APACHE_DOCUMENT_ROOT}/wp-content
- chmod g+w ${APACHE_DOCUMENT_ROOT}/wp-content
- 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment