Skip to content

Commit

Permalink
Fix noisy tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
lamech committed Aug 7, 2019
1 parent 2434a02 commit 882233b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ default:
blackbox: ~
gherkin:
filters:
tags: "~@wip&&~@slow&&~@disabled"
tags: "~@wip&&~@slow&&~@disabled&&~@noisy"

2 changes: 1 addition & 1 deletion mk/tasks/notify.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NOTIFY_CI_PROJECT_URL ?= $(CI_PROJECT_URL)
RESULT ?= 0
NOTIFY_CI_RESULT ?= $(RESULT)
NOTIFY_CI_SUCCESS ?= ✅ <strong>Success</strong>
NOTIFY_CI_FAILURE ?= ❌ <strong>Failure</strong>
NOTIFY_CI_FAILURE ?= ❌ <strong>Failure</strong>
NOTIFY_CI_MESSAGE ?= running <a href='$(NOTIFY_CI_JOB_URL)'>$(NOTIFY_CI_JOB)</a> job on <em><a href='$(NOTIFY_CI_BRANCH_URL)'>$(NOTIFY_CI_BRANCH)</a></em> branch of <a href='$(NOTIFY_CI_PROJECT_URL)'>$(NOTIFY_CI_PROJECT)</a>. Pipeline <a href='$(NOTIFY_CI_PIPELINE_URL)'>\#$(NOTIFY_CI_PIPELINE)</a>.<br />Commit: <a href='$(NOTIFY_CI_COMMIT_URL)'>$(NOTIFY_CI_COMMIT)</a>: $(NOTIFY_CI_COMMIT_TITLE)

include $(SELF_DIR)notify/*.mk

0 comments on commit 882233b

Please sign in to comment.