Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonne Haß <me@jhass.eu>2020-11-02 18:23:35 +0300
committerJonne Haß <me@jhass.eu>2020-11-02 21:55:36 +0300
commit8bca84422ecbdc089209a9093869f892fa5701fe (patch)
treee767ea69e1cab5499e8029b8fca8bae7668173c0
parente1aff7e3ab395ee876d51eed3493a54f2af7454e (diff)
cucumber: don't fail on flaky tests, fail-fast
-rw-r--r--.github/workflows/ci.yml1
-rw-r--r--lib/tasks/cucumber.rake6
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|