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
b38c693a
Verified
Commit
b38c693a
authored
8 months ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
fix: ensure correct wordpress path
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
ce5884b4
No related branches found
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
+4
-2
4 additions, 2 deletions
includes/tests/codeception.yml
with
4 additions
and
2 deletions
includes/tests/codeception.yml
+
4
−
2
View file @
b38c693a
...
@@ -88,10 +88,12 @@
...
@@ -88,10 +88,12 @@
if [ -f ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql ]; then
if [ -f ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql ]; then
# Always ensure the database is up to date
# Always ensure the database is up to date
set -x
set -x
cd "$APACHE_DOCUMENT_ROOT"
wp db import ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql
wp db import ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql
wp
--path="$APACHE_DOCUMENT_ROOT"
core update-db
wp core update-db
wp
--path="$APACHE_DOCUMENT_ROOT"
wc update || true
wp wc update || true
wp db export ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql
wp db export ${CI_PROJECT_DIR}/tests/codeception/tests/_data/db.sql
cd ${CI_PROJECT_DIR}
set +x
set +x
fi
fi
-
echo "End before"
-
echo "End before"
...
...
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