-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up cucumber.yml - add --publish-quiet
- Loading branch information
Aslak Hellesøy
committed
Aug 19, 2020
1 parent
efa81d4
commit 64f074c
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<% | ||
cucumber_pro_opts = ENV['ENABLE_CUCUMBER_PRO'] ? "--format Cucumber::Pro --out /dev/null" : "" | ||
std_opts = "--format progress features -r features --strict #{cucumber_pro_opts}".dup | ||
std_opts = "--format progress features -r features --strict --publish-quiet".dup | ||
std_opts << " --tags 'not @wip'" | ||
std_opts << " --tags 'not @wip-jruby'" if defined?(JRUBY_VERSION) | ||
wip_opts = "--color -r features".dup | ||
wip_opts << " --tags @wip" if !defined?(JRUBY_VERSION) | ||
wip_opts << " --tags '@wip or @wip-jruby'" if defined?(JRUBY_VERSION) | ||
if defined?(JRUBY_VERSION) | ||
wip_opts << " --tags '@wip or @wip-jruby'" | ||
else | ||
wip_opts << " --tags @wip" | ||
end | ||
%> | ||
default: <%= std_opts %> --tags "not @jruby" | ||
jruby: <%= std_opts %> --tags "not @wire" | ||
jruby_win: <%= std_opts %> --tags "not @wire" CUCUMBER_FORWARD_SLASH_PATHS=true | ||
windows_mri: <%= std_opts %> --tags "not @jruby" --tags "not @wire" --tags "not @needs-many-fonts" --tags "not @todo-windows" CUCUMBER_FORWARD_SLASH_PATHS=true | ||
wip: --wip <%= wip_opts %> features <%= cucumber_pro_opts %> | ||
none: --format pretty --format Cucumber::Pro --out /dev/null | ||
wip: --wip <%= wip_opts %> features | ||
none: --format pretty |