From 882233ba9f2cef3d214d11f71185dd181d171807 Mon Sep 17 00:00:00 2001 From: lamech Date: Wed, 7 Aug 2019 02:53:46 +0000 Subject: [PATCH] Fix noisy tests. --- .gitlab-ci.yml | 2 ++ behat.yml | 2 +- mk/tasks/notify.mk | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74c2b74..727f869 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,8 @@ slow-tests: # This test will fail (on purpose), in order to test that failure notifications are sent. noisy-tests: <<: *test-defaults + variables: + NOTIFY_CI_MESSAGE: Notification test; safe to ignore failures. script: - source d - BEHAT_TAGS=success make run-behat-ci diff --git a/behat.yml b/behat.yml index 4213537..b84a6d7 100644 --- a/behat.yml +++ b/behat.yml @@ -17,5 +17,5 @@ default: blackbox: ~ gherkin: filters: - tags: "~@wip&&~@slow&&~@disabled" + tags: "~@wip&&~@slow&&~@disabled&&~@noisy" diff --git a/mk/tasks/notify.mk b/mk/tasks/notify.mk index 11d648e..e38a049 100644 --- a/mk/tasks/notify.mk +++ b/mk/tasks/notify.mk @@ -17,7 +17,7 @@ NOTIFY_CI_PROJECT_URL ?= $(CI_PROJECT_URL) RESULT ?= 0 NOTIFY_CI_RESULT ?= $(RESULT) NOTIFY_CI_SUCCESS ?= ✅ Success -NOTIFY_CI_FAILURE ?= ❌ Failure +NOTIFY_CI_FAILURE ?= ❌ Failure NOTIFY_CI_MESSAGE ?= running $(NOTIFY_CI_JOB) job on $(NOTIFY_CI_BRANCH) branch of $(NOTIFY_CI_PROJECT). Pipeline \#$(NOTIFY_CI_PIPELINE).
Commit: $(NOTIFY_CI_COMMIT): $(NOTIFY_CI_COMMIT_TITLE) include $(SELF_DIR)notify/*.mk