Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update test suite configuration #29

Merged
merged 2 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Linters

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]

jobs:
reviewdog:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/specs_mysql_60.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Specs Rails 6.0 MySQL

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]

jobs:
tests:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/specs_mysql_61.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Specs Rails 6.1 MySQL

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]

jobs:
tests:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/specs_mysql_70.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Specs Rails 7.0 MySQL

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]

jobs:
tests:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/specs_postgres_60.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Specs Rails 6.0 Postgres

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]

jobs:
tests:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
run: bundle exec rspec --profile

# - name: Upload coverage results
# uses: actions/upload-artifact@master
# uses: actions/upload-artifact@main
# if: always()
# with:
# name: coverage-report
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/specs_postgres_61.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Specs Rails 6.1 Postgres

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]

jobs:
tests:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
run: bundle exec rspec --profile

# - name: Upload coverage results
# uses: actions/upload-artifact@master
# uses: actions/upload-artifact@main
# if: always()
# with:
# name: coverage-report
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/specs_postgres_70.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Specs Rails 7.0 Postgres

on:
pull_request:
branches: [master]
branches: [main]
push:
branches: [master]
branches: [main]

jobs:
tests:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
${{github.workspace}}/coverage/lcov/active_storage_db.lcov:lcov

# - name: Upload coverage results
# uses: actions/upload-artifact@master
# uses: actions/upload-artifact@main
# if: always()
# with:
# name: coverage-report
Expand Down
3 changes: 0 additions & 3 deletions .reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ runner:
fasterer:
cmd: bin/fasterer
level: info
reek:
cmd: bin/reek
level: info
rubocop:
cmd: bin/rubocop
level: info
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
postgres 14.6
2 changes: 0 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ end
appraise 'rails-7_0-postgres' do
gem 'pg'
gem 'rails', '~> 7.0.0'

# gem 'net-http' # NOTE: tried to solve a work related to already initialized Net::ProtocRetryError
end

appraise 'rails-6_0-mysql' do
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ group :development, :test do
# Linters
gem 'brakeman'
gem 'fasterer'
gem 'reek'
gem 'rubocop'
gem 'rubocop-packaging'
gem 'rubocop-performance'
Expand Down
29 changes: 0 additions & 29 deletions bin/code_climate_reek

This file was deleted.

29 changes: 0 additions & 29 deletions bin/reek

This file was deleted.

1 change: 0 additions & 1 deletion gemfiles/rails_6_0_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ group :development, :test do
gem "selenium-webdriver"
gem "brakeman"
gem "fasterer"
gem "reek"
gem "rubocop"
gem "rubocop-packaging"
gem "rubocop-performance"
Expand Down
15 changes: 5 additions & 10 deletions gemfiles/rails_6_0_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ GEM
activesupport (>= 5.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
kwalify (0.7.2)
loofah (2.14.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand All @@ -111,12 +110,12 @@ GEM
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.15.0)
mysql2 (0.5.3)
mysql2 (0.5.5)
nio4r (2.5.8)
nokogiri (1.13.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.13.3-x86_64-linux)
nokogiri (1.13.3)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
parallel (1.21.0)
parser (3.1.1.0)
Expand Down Expand Up @@ -159,10 +158,6 @@ GEM
thor (>= 0.20.3, < 2.0)
rainbow (3.1.1)
rake (13.0.6)
reek (6.1.0)
kwalify (~> 0.7.0)
parser (~> 3.1.0)
rainbow (>= 2.0, < 4.0)
regexp_parser (2.2.1)
rexml (3.2.5)
rspec-core (3.11.0)
Expand Down Expand Up @@ -242,6 +237,7 @@ GEM
zeitwerk (2.5.4)

PLATFORMS
arm64-darwin-22
x86_64-darwin-21
x86_64-linux

Expand All @@ -255,7 +251,6 @@ DEPENDENCIES
mysql2
pry-rails
rails (~> 6.0.0)
reek
rspec-rails
rspec_junit_formatter
rubocop
Expand Down
1 change: 0 additions & 1 deletion gemfiles/rails_6_0_postgres.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ group :development, :test do
gem "selenium-webdriver"
gem "brakeman"
gem "fasterer"
gem "reek"
gem "rubocop"
gem "rubocop-packaging"
gem "rubocop-performance"
Expand Down
11 changes: 5 additions & 6 deletions gemfiles/rails_6_0_postgres.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ GEM
activesupport (>= 5.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
kwalify (0.7.2)
loofah (2.14.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand All @@ -111,8 +110,12 @@ GEM
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.15.0)
nio4r (2.5.8)
nokogiri (1.13.3)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nokogiri (1.13.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.13.3-x86_64-linux)
Expand Down Expand Up @@ -159,10 +162,6 @@ GEM
thor (>= 0.20.3, < 2.0)
rainbow (3.1.1)
rake (13.0.6)
reek (6.1.0)
kwalify (~> 0.7.0)
parser (~> 3.1.0)
rainbow (>= 2.0, < 4.0)
regexp_parser (2.2.1)
rexml (3.2.5)
rspec-core (3.11.0)
Expand Down Expand Up @@ -242,6 +241,7 @@ GEM
zeitwerk (2.5.4)

PLATFORMS
arm64-darwin-22
x86_64-darwin-21
x86_64-linux

Expand All @@ -255,7 +255,6 @@ DEPENDENCIES
pg
pry-rails
rails (~> 6.0.0)
reek
rspec-rails
rspec_junit_formatter
rubocop
Expand Down
1 change: 0 additions & 1 deletion gemfiles/rails_6_1_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ group :development, :test do
gem "selenium-webdriver"
gem "brakeman"
gem "fasterer"
gem "reek"
gem "rubocop"
gem "rubocop-packaging"
gem "rubocop-performance"
Expand Down
15 changes: 5 additions & 10 deletions gemfiles/rails_6_1_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ GEM
activesupport (>= 5.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
kwalify (0.7.2)
loofah (2.14.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand All @@ -115,12 +114,12 @@ GEM
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.15.0)
mysql2 (0.5.3)
mysql2 (0.5.5)
nio4r (2.5.8)
nokogiri (1.13.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.13.3-x86_64-linux)
nokogiri (1.13.3)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
parallel (1.21.0)
parser (3.1.1.0)
Expand Down Expand Up @@ -163,10 +162,6 @@ GEM
thor (~> 1.0)
rainbow (3.1.1)
rake (13.0.6)
reek (6.1.0)
kwalify (~> 0.7.0)
parser (~> 3.1.0)
rainbow (>= 2.0, < 4.0)
regexp_parser (2.2.1)
rexml (3.2.5)
rspec-core (3.11.0)
Expand Down Expand Up @@ -245,6 +240,7 @@ GEM
zeitwerk (2.5.4)

PLATFORMS
arm64-darwin-22
x86_64-darwin-21
x86_64-linux

Expand All @@ -258,7 +254,6 @@ DEPENDENCIES
mysql2
pry-rails
rails (~> 6.1.0)
reek
rspec-rails
rspec_junit_formatter
rubocop
Expand Down
1 change: 0 additions & 1 deletion gemfiles/rails_6_1_postgres.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ group :development, :test do
gem "selenium-webdriver"
gem "brakeman"
gem "fasterer"
gem "reek"
gem "rubocop"
gem "rubocop-packaging"
gem "rubocop-performance"
Expand Down
Loading
Loading