Skip to content
Snippets Groups Projects
Commit 0ccbeefc authored by Erick Hitter's avatar Erick Hitter
Browse files

Test coverage

parent e73803aa
No related branches found
No related tags found
1 merge request!6Add tests
Pipeline #5047 failed with stages
in 2 minutes and 14 seconds
...@@ -3,9 +3,3 @@ include: ...@@ -3,9 +3,3 @@ include:
- remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/templates/cache.yml - remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/templates/cache.yml
- remote: https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/before-script-redis.yml - remote: https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/before-script-redis.yml
- remote: https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/matrix-redis.yml - remote: https://git.ethitter.com/gitlab/ci/wordpress/-/raw/add/redis/plugins/templates/matrix-redis.yml
connect:
# Connect to PostgreSQL database as user postgres, without password
image: redis
script:
- redis-cli -h redis PING
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
* @package WP_Revisions_Control * @package WP_Revisions_Control
*/ */
if ( ! defined( 'WP_REDIS_USER_SESSION_HOST' ) ) {
define( 'WP_REDIS_USER_SESSION_HOST', 'redis' );
}
$redis_user_session_storage = getenv( 'WP_TESTS_DIR' ); $redis_user_session_storage = getenv( 'WP_TESTS_DIR' );
if ( ! $redis_user_session_storage ) { if ( ! $redis_user_session_storage ) {
......
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