From 461e6b0fb21e1ba959b20c03630f3c7b7d2a6621 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Thu, 27 Jan 2022 15:40:14 +0530 Subject: [PATCH] CI: Add another parallel stage for binary_parameters=yes (#19432) We want to test with both text and binary mode. Using our CI to test both in parallel. ```release-note NONE ``` Co-authored-by: Mattermod --- .circleci/config.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 905847b758..23a410e940 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -576,7 +576,7 @@ workflows: - check-email-templates - check-gen-serialized - test: - name: test-postgres + name: test-postgres-normal dbdriver: postgres dbsource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10 racemode: "" @@ -587,6 +587,18 @@ workflows: - check-migrations - check-email-templates - check-gen-serialized + - test: + name: test-postgres-binary + dbdriver: postgres + dbsource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10&binary_parameters=yes + racemode: "" + requires: + - check-app-layers + - check-store-layers + - check-mocks + - check-migrations + - check-email-templates + - check-gen-serialized - test-schema: requires: - check-app-layers @@ -679,7 +691,7 @@ workflows: - check-email-templates - check-gen-serialized - test: - name: test-postgres + name: test-postgres-normal dbdriver: postgres dbsource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10 racemode: "-race" @@ -690,4 +702,16 @@ workflows: - check-migrations - check-email-templates - check-gen-serialized + - test: + name: test-postgres-binary + dbdriver: postgres + dbsource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10&binary_parameters=yes + racemode: "" + requires: + - check-app-layers + - check-store-layers + - check-mocks + - check-migrations + - check-email-templates + - check-gen-serialized # test-schema for master run in .gitlab-ci.yml