From a9bc79334689e514cc0e2d00eeddbd6bfec9b0e2 Mon Sep 17 00:00:00 2001 From: Grzegorz Rola <grola@seostudio.pl> Date: Tue, 10 Dec 2024 12:16:15 +0100 Subject: [PATCH] feature(tests): codeception artifacts --- gitlab-ci-1.2.yml | 2 +- includes/mixins/.after-codeception.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gitlab-ci-1.2.yml b/gitlab-ci-1.2.yml index 968b3ad..3554160 100644 --- a/gitlab-ci-1.2.yml +++ b/gitlab-ci-1.2.yml @@ -1,5 +1,5 @@ variables: - WPDESK_CI_VERSION: "2024.11.26" + WPDESK_CI_VERSION: "2024.12.10" MYSQL_ROOT_PASSWORD: "mysql" MYSQL_DATABASE: "wptest" MYSQL_USER: "mysql" diff --git a/includes/mixins/.after-codeception.yml b/includes/mixins/.after-codeception.yml index aa71574..b9b4913 100644 --- a/includes/mixins/.after-codeception.yml +++ b/includes/mixins/.after-codeception.yml @@ -2,4 +2,6 @@ after_script: - cp ${APACHE_DOCUMENT_ROOT}/wp-content/debug.log tests/codeception/tests/_output/debug.log &>/dev/null || true - cp ${APACHE_DOCUMENT_ROOT}/wp-content/uploads/wpdesk-logs/wpdesk_debug.log tests/codeception/tests/_output/wpdesk_debug.log &>/dev/null || true + - mkdir -p tests/codeception/tests/_output/wc-logs + - cp ${APACHE_DOCUMENT_ROOT}/wp-content/uploads/wc-logs/* tests/codeception/tests/_output/wc-logs/ &>/dev/null || true - rm -r ${APACHE_DOCUMENT_ROOT} -- GitLab