forked from grosser/parallel_tests
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:grosser/parallel_tests into repor…
…ting3
- Loading branch information
Showing
338 changed files
with
5,091 additions
and
2,098 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Thank you for your contribution! | ||
|
||
## Checklist | ||
- [ ] Feature branch is up-to-date with `master` (if not - rebase it). | ||
- [ ] Added tests. | ||
- [ ] Added an entry to the [Changelog](../blob/master/CHANGELOG.md) if the new | ||
code introduces user-observable changes. | ||
- [ ] Update Readme.md when cli options are changed |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false # run all tests so we see which gem/ruby combinations break | ||
matrix: | ||
ruby: ['2.7', '3.0', '3.1', '3.2', head, jruby-head] | ||
os: [ubuntu-latest, windows-latest] | ||
task: [spec] | ||
include: | ||
- ruby: '2.7' # lowest supported version, same as gemspec and .rubocop.yml | ||
os: ubuntu-latest | ||
task: rubocop | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
- name: rake ${{ matrix.task }} | ||
# allow ruby/jruby-head to fail since they are moving targets | ||
# TODO: this will always show green, fix once https://github.com/actions/toolkit/issues/399 is resolved | ||
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }} | ||
run: bundle exec rake ${{ matrix.task }} |
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
tmp | ||
.bundle | ||
**/vendor/bundle | ||
/.idea |
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 |
---|---|---|
@@ -0,0 +1,137 @@ | ||
AllCops: | ||
NewCops: enable | ||
TargetRubyVersion: 2.7 | ||
SuggestExtensions: false | ||
Exclude: | ||
- '**/vendor/bundle/**/*' | ||
- 'spec/fixtures/*/db/schema.rb' | ||
|
||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
|
||
Style/StringLiterals: | ||
Enabled: false | ||
|
||
Style/StringLiteralsInInterpolation: | ||
Enabled: false | ||
|
||
Lint/AmbiguousRegexpLiteral: | ||
Enabled: false | ||
|
||
Bundler/OrderedGems: | ||
Enabled: false | ||
|
||
Metrics: | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Layout/EmptyLineAfterMagicComment: | ||
Enabled: false | ||
|
||
Layout/EndAlignment: | ||
EnforcedStyleAlignWith: variable | ||
|
||
Layout/MultilineOperationIndentation: | ||
Enabled: false | ||
|
||
Layout/MultilineMethodCallIndentation: | ||
EnforcedStyle: indented | ||
|
||
Style/NumericPredicate: | ||
EnforcedStyle: comparison | ||
|
||
Layout/EmptyLineAfterGuardClause: | ||
Enabled: false | ||
|
||
Layout/FirstHashElementLineBreak: | ||
Enabled: true # Opt-in | ||
|
||
# Opt-in | ||
Layout/FirstMethodArgumentLineBreak: | ||
Enabled: true # Opt-in | ||
|
||
Layout/FirstMethodParameterLineBreak: | ||
Enabled: true # Opt-in | ||
|
||
# https://github.com/rubocop-hq/rubocop/issues/5891 | ||
Style/SpecialGlobalVars: | ||
Enabled: false | ||
|
||
Style/GlobalStdStream: | ||
Enabled: false | ||
|
||
Style/WordArray: | ||
EnforcedStyle: brackets | ||
|
||
Style/SymbolArray: | ||
EnforcedStyle: brackets | ||
|
||
Style/DoubleNegation: | ||
Enabled: false | ||
|
||
Style/NumericLiterals: | ||
Enabled: false | ||
|
||
Layout/LineLength: | ||
Enabled: false | ||
Max: 120 | ||
|
||
Style/RedundantConstantBase: | ||
Enabled: false | ||
|
||
Style/RegexpLiteral: | ||
Enabled: false | ||
|
||
Style/Lambda: | ||
EnforcedStyle: literal | ||
|
||
Style/IfUnlessModifier: | ||
Enabled: false | ||
|
||
Style/FormatString: | ||
Enabled: false | ||
|
||
Naming/VariableNumber: | ||
Enabled: false | ||
|
||
Naming/MethodParameterName: | ||
Enabled: false | ||
|
||
Style/GuardClause: | ||
Enabled: false | ||
|
||
Lint/AssignmentInCondition: | ||
Enabled: false | ||
|
||
Style/Next: | ||
Enabled: false | ||
|
||
Naming/HeredocDelimiterNaming: | ||
Enabled: false | ||
|
||
Style/Semicolon: | ||
Enabled: false | ||
|
||
Lint/InterpolationCheck: | ||
Enabled: false | ||
|
||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
Style/TrivialAccessors: | ||
Enabled: false | ||
|
||
Style/ClassVars: | ||
Enabled: false | ||
|
||
Style/CaseEquality: | ||
Enabled: false | ||
|
||
Lint/EmptyClass: | ||
Enabled: false | ||
|
||
# ENV.fetch('FOO', nil) is the same as ENV['FOO'] | ||
Style/FetchEnvVar: | ||
Enabled: false |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.