Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
3c2563b2
Commit
3c2563b2
authored
4 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
Feature/new codeception tests
parent
f21f5b51
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/tests/codeception.yml
+10
-10
10 additions, 10 deletions
includes/tests/codeception.yml
with
10 additions
and
10 deletions
includes/tests/codeception.yml
+
10
−
10
View file @
3c2563b2
...
@@ -43,20 +43,20 @@
...
@@ -43,20 +43,20 @@
-
export WOOTESTS_IP=$(awk '/^[[:space:]]*($|#)/{next} /wootests/{print $1; exit}' /etc/hosts)
-
export WOOTESTS_IP=$(awk '/^[[:space:]]*($|#)/{next} /wootests/{print $1; exit}' /etc/hosts)
-
cd ${CI_PROJECT_DIR}
-
cd ${CI_PROJECT_DIR}
-
mkdir -p /project
-
mkdir -p /project
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then cp -r ${CI_PROJECT_DIR}/. /project; fi
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then cp -r ${CI_PROJECT_DIR}/. /project; fi
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then cd /project; fi
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then cd /project; fi
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then COMPOSER_MEMORY_LIMIT=-1 composer install --no-progress --prefer-dist --no-dev; fi
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then COMPOSER_MEMORY_LIMIT=-1 composer install --no-progress --prefer-dist --no-dev; fi
-
cd ${CI_PROJECT_DIR}
-
cd ${CI_PROJECT_DIR}
-
mkdir -p ${APACHE_DOCUMENT_ROOT}
-
mkdir -p ${APACHE_DOCUMENT_ROOT}
-
cd ${APACHE_DOCUMENT_ROOT}
-
cd ${APACHE_DOCUMENT_ROOT}
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then wp core download ${WORDPRESS_CLI_PARAMETERS} --allow-root; fi;
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then wp core download ${WORDPRESS_CLI_PARAMETERS} --allow-root; fi;
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then wp config create --dbhost=${MYSQL_IP} --dbname=wptest --dbuser=mysql --dbpass=mysql --allow-root; fi;
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then wp config create --dbhost=${MYSQL_IP} --dbname=wptest --dbuser=mysql --dbpass=mysql --allow-root; fi;
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then wp config set WP_DEBUG
true
--raw --type=constant --allow-root; fi;
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then wp config set WP_DEBUG
true
--raw --type=constant --allow-root; fi;
-
cd ${CI_PROJECT_DIR}
-
cd ${CI_PROJECT_DIR}
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then chmod a+x ./tests/codeception/bootstrap.sh; fi;
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then chmod a+x ./tests/codeception/bootstrap.sh; fi;
-
if [ -f
.
/tests/codeception/bootstrap.sh ]; then . ./tests/codeception/bootstrap.sh; fi;
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/bootstrap.sh ]; then . ./tests/codeception/bootstrap.sh; fi;
-
if [
!
-f
.
/tests/codeception/
bootstrap.sh
]; then composer prepare-wordpress-for-codeception; fi;
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/
wpdesk.yml
]; then composer prepare-wordpress-for-codeception; fi;
-
if [
!
-f
.
/tests/codeception/
bootstrap.sh
]; then composer prepare-local-codeception-tests; fi;
-
if [ -f
${CI_PROJECT_DIR}
/tests/codeception/
wpdesk.yml
]; then composer prepare-local-codeception-tests; fi;
-
mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/_output
-
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/acceptance
-
mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/functional
-
mkdir -p ${CI_PROJECT_DIR}/tests/codeception/tests/functional
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment