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

Codeception params

parent 02a8f97d
No related branches found
No related tags found
No related merge requests found
...@@ -439,6 +439,9 @@ library: ...@@ -439,6 +439,9 @@ library:
- wp core download ${WORDPRESS_CLI_PARAMETERS} --allow-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 create --dbhost=${MYSQL_IP} --dbname=wptest --dbuser=mysql --dbpass=mysql --allow-root
- wp config set WP_DEBUG true --raw --type=constant --allow-root - wp config set WP_DEBUG true --raw --type=constant --allow-root
- touch ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- chmod o+w ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- chmod g+w ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- cp -r /tmp/project/. ${APACHE_DOCUMENT_ROOT}/wp-content/plugins/${CI_PROJECT_NAME} - cp -r /tmp/project/. ${APACHE_DOCUMENT_ROOT}/wp-content/plugins/${CI_PROJECT_NAME}
- chmod a+x ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh - chmod a+x ${CI_PROJECT_DIR}/tests/codeception/bootstrap.sh
- cd ${CI_PROJECT_DIR} - cd ${CI_PROJECT_DIR}
...@@ -448,9 +451,6 @@ library: ...@@ -448,9 +451,6 @@ library:
- mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/functional - mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/functional
- mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/unit - mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/unit
- chmod -R a+w ${APACHE_DOCUMENT_ROOT}/wp-content/uploads - chmod -R a+w ${APACHE_DOCUMENT_ROOT}/wp-content/uploads
- touch ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- chmod o+w ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- chmod g+w ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log
- echo "End before" - echo "End before"
script: script:
- vendor/bin/codecept run --steps --xml --html --debug - 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