From a405376940600fe1c88ddce37673c0ecf948b1e5 Mon Sep 17 00:00:00 2001 From: Malaber Date: Wed, 15 Apr 2026 16:15:44 +0200 Subject: [PATCH] Revert "TUR-76 disable rspec matrix pipeline" This reverts commit f90d21eeb64dadeac26dd73fbb9fbfe7ceb1f651. --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8bd05fc..9112e83 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,10 @@ rails spec: tags: - docker image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA + parallel: + matrix: + - RSPEC_NODE_INDEX: ["1", "2", "3", "4", "5", "6", "7", "8"] + RSPEC_NODE_TOTAL: "8" rules: - if: $SKIP_TEST when: never @@ -28,7 +32,11 @@ rails spec: script: - cd /app - inv db-migrate - - inv test + - inv test-shard --node-index=$RSPEC_NODE_INDEX --node-total=$RSPEC_NODE_TOTAL + artifacts: + paths: + - specs_with_runtime.txt + expire_in: 30 days rails e2e spec: stage: test