-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: Require ruby 2.3 or newer, to be able to use latest Cu… (vc…
…r#816) * BREAKING: ruby_version_required: 2.3+ * Update cucumber to ~> 3.1 * Ruby 2.7 keyword compat * gemspec: Allow Excon >= 0.62.0 * Avoid Cucumber ~@tag warnings - by using new syntax for tag exclusion, we avoid all start warnings * CI: Add 2.7 to the matrix * Ruby 3.0 keyword compat * Use Cucumber 3.1 - the supported version * Drop RUBY_VERSION checks for old versions
- Loading branch information
1 parent
064010e
commit b38369d
Showing
14 changed files
with
27 additions
and
53 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 |
---|---|---|
|
@@ -7,3 +7,4 @@ rvm: | |
- 2.4 | ||
- 2.5 | ||
- 2.6 | ||
- 2.7 |
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,5 +1,5 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "cucumber", "~> 1.3.20" | ||
gem "cucumber", "~> 3.1" | ||
|
||
gemspec |
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,17 +1,17 @@ | ||
<% | ||
base_opts = '--require features/step_definitions --require features/support' | ||
std_opts = "--format progress --strict" | ||
std_opts << " --backtrace" if ENV["CI"] | ||
std_opts = +"--format progress --strict" | ||
std_opts << " --backtrace" if ENV["CI"] | ||
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" | ||
rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format pretty #{rerun}" | ||
exclusions = [] | ||
exclusions << "--tags ~@exclude-#{RUBY_VERSION.split('.').first(2).join}" | ||
exclusions << "--tags ~@exclude-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}" | ||
exclusions << "--tags ~@exclude-#{RUBY_ENGINE}" if defined?(RUBY_ENGINE) | ||
exclusions << "--tags 'not @exclude-#{RUBY_VERSION.split('.').first(2).join}'" | ||
exclusions << "--tags 'not @exclude-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}'" | ||
exclusions << "--tags 'not @exclude-#{RUBY_ENGINE}'" if defined?(RUBY_ENGINE) | ||
exclusions = exclusions.join(' ') | ||
%> | ||
default: <%= base_opts %> <%= std_opts %> --tags ~@wip <%= exclusions %> features | ||
wip: <%= base_opts %> --tags @wip <%= exclusions %> features | ||
rerun: <%= base_opts %> <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip <%= exclusions %> | ||
default: <%= base_opts %> <%= std_opts %> --tags 'not @wip' <%= exclusions %> features | ||
wip: <%= base_opts %> --tags 'not wip' <%= exclusions %> features | ||
rerun: <%= base_opts %> <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags 'not @wip' <%= exclusions %> | ||
|
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
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
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
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
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
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
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
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
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
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
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