From 69efa180b06a29c4c76e456280e5074e5f2b4d65 Mon Sep 17 00:00:00 2001 From: Burak Hancerli <burak.hancerli@qt.io> Date: Mon, 25 Nov 2024 16:21:52 +0100 Subject: [PATCH] chore: disabling the tests for a while --- cicd/stages/release.yml | 6 +++--- cicd/stages/test.yml | 9 +++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/cicd/stages/release.yml b/cicd/stages/release.yml index 02d5f2d..3e06feb 100644 --- a/cicd/stages/release.yml +++ b/cicd/stages/release.yml @@ -5,9 +5,9 @@ create-packages: rules: - if: $CI_COMMIT_TAG needs: - # - job: test-x86_64 - # optional: false - # artifacts: true + - job: test-x86_64 + optional: false + artifacts: true - job: build-android optional: false artifacts: true diff --git a/cicd/stages/test.yml b/cicd/stages/test.yml index f1567e6..b6f63a4 100644 --- a/cicd/stages/test.yml +++ b/cicd/stages/test.yml @@ -8,12 +8,17 @@ test-x86_64: - job: build-android optional: false artifacts: true - rules: - - if: ${QDS_CI_SKIP_TESTS} == "false" variables: GIT_SUBMODULE_STRATEGY: none QDS_CI_JOB_TEST_RESULTS_PATH: ${CI_PROJECT_DIR}/test script: + - | + if [[ ${QDS_CI_SKIP_TESTS} == "false" ]]; then + echo "Running tests"; + else + echo "Skipping tests"; + exit 0; + fi - | export ANDROID_SDK_ROOT=/opt/android export PATH=$PATH:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/ -- GitLab