From 8bca84422ecbdc089209a9093869f892fa5701fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Mon, 2 Nov 2020 16:23:35 +0100 Subject: [PATCH] cucumber: don't fail on flaky tests, fail-fast --- .github/workflows/ci.yml | 1 - lib/tasks/cucumber.rake | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac4473975..8459f200f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,6 @@ jobs: test: runs-on: ubuntu-latest strategy: - fail-fast: false matrix: ruby: - 2.6 diff --git a/lib/tasks/cucumber.rake b/lib/tasks/cucumber.rake index 0b79485bb..815d35f6a 100644 --- a/lib/tasks/cucumber.rake +++ b/lib/tasks/cucumber.rake @@ -1,8 +1,8 @@ # frozen_string_literal: true # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. -# It is recommended to regenerate this file in the future when you upgrade to a -# newer version of cucumber-rails. Consider adding your own code to a new file +# It is recommended to regenerate this file in the future when you upgrade to a +# newer version of cucumber-rails. Consider adding your own code to a new file # instead of editing this one. Cucumber will automatically load all features/**/*.rb # files. @@ -20,7 +20,7 @@ begin t.binary = vendored_cucumber_bin # If nil, the gem's binary is used. t.fork = true # You may get faster startup if you set this to false t.profile = 'default' - t.cucumber_opts = %w[--retry 3] + t.cucumber_opts = %w[--retry 3 --no-strict-flaky --fail-fast] end Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t|