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
67271f45
Verified
Commit
67271f45
authored
8 months ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
feat: always update database before running tests
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
cff69d6f
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
+3
-0
3 additions, 0 deletions
includes/tests/codeception.yml
with
3 additions
and
0 deletions
includes/tests/codeception.yml
+
3
−
0
View file @
67271f45
...
...
@@ -79,6 +79,9 @@
-
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
# Always ensure the database is up to date
-
wp core update-db
-
wp wc update ||
true
-
echo "End before"
-
cd ${CI_PROJECT_DIR}
script
:
...
...
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