Skip to content

Commit

Permalink
Update gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mirakui committed Sep 14, 2024
1 parent 50f1046 commit 02b8d40
Show file tree
Hide file tree
Showing 16 changed files with 10 additions and 132 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ env:
jobs:
integration_test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./integration_test

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
MYSQL_HOST: 127.0.0.1
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3

- name: Install dependencies
run: bundle install
bundler-cache: true

- name: Run RuboCop
run: bundle exec rubocop
9 changes: 1 addition & 8 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
ruby-version:
- 3.2
- 3.3
gemfile:
- ar_6.1
- ar_7.0
- ar_7.1
- ar_7.2

steps:
- uses: actions/checkout@v2
Expand All @@ -32,7 +27,5 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests with ${{ matrix.gemfile }}.gemfile on ruby-${{ matrix.ruby-version }}
- name: Run unit tests on ruby-${{ matrix.ruby-version }}
run: bundle exec rspec spec/*_spec.rb
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
7 changes: 1 addition & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ gemspec

gem 'rspec'
gem 'appraisal'
gem 'dotenv', require: 'dotenv/load'
gem 'rubocop'
gem 'rubocop-md'
gem 'dotenv', require: 'dotenv/load'
gem 'mysql2'
gem 'pg'
gem 'activerecord-sqlserver-adapter'
gem 'sqlite3'
gem 'trilogy'
7 changes: 0 additions & 7 deletions gemfiles/ar_4.2.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/ar_5.2.gemfile

This file was deleted.

8 changes: 2 additions & 6 deletions gemfiles/ar_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ source "https://rubygems.org"

gem "rspec"
gem "appraisal"
gem "dotenv", require: "dotenv/load"
gem "rubocop"
gem "rubocop-md"
gem "dotenv", require: "dotenv/load"
gem "mysql2"
gem "pg"
gem "activerecord-sqlserver-adapter"
gem "sqlite3", "~> 1.4"
gem "trilogy"
gem "activerecord", "~> 6.1.0"
gem "sqlite3", "~> 1.4"
gem "bigdecimal"
gem "base64"
gem "mutex_m"
Expand Down
8 changes: 2 additions & 6 deletions gemfiles/ar_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ source "https://rubygems.org"

gem "rspec"
gem "appraisal"
gem "dotenv", require: "dotenv/load"
gem "rubocop"
gem "rubocop-md"
gem "dotenv", require: "dotenv/load"
gem "mysql2"
gem "pg"
gem "activerecord-sqlserver-adapter"
gem "sqlite3", "~> 1.4"
gem "trilogy"
gem "activerecord", "~> 7.0.0"
gem "sqlite3", "~> 1.4"
gem "bigdecimal"
gem "base64"
gem "mutex_m"
Expand Down
7 changes: 1 addition & 6 deletions gemfiles/ar_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ source "https://rubygems.org"

gem "rspec"
gem "appraisal"
gem "dotenv", require: "dotenv/load"
gem "rubocop"
gem "rubocop-md"
gem "dotenv", require: "dotenv/load"
gem "mysql2"
gem "pg"
gem "activerecord-sqlserver-adapter"
gem "sqlite3"
gem "trilogy"
gem "activerecord", "~> 7.1.0"

gemspec path: "../"
7 changes: 1 addition & 6 deletions gemfiles/ar_7.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ source "https://rubygems.org"

gem "rspec"
gem "appraisal"
gem "dotenv", require: "dotenv/load"
gem "rubocop"
gem "rubocop-md"
gem "dotenv", require: "dotenv/load"
gem "mysql2"
gem "pg"
gem "activerecord-sqlserver-adapter"
gem "sqlite3"
gem "trilogy"
gem "activerecord", "~> 7.2.0"

gemspec path: "../"
1 change: 0 additions & 1 deletion integration_test/Appraisals

This file was deleted.

11 changes: 0 additions & 11 deletions integration_test/Gemfile

This file was deleted.

17 changes: 0 additions & 17 deletions integration_test/gemfiles/ar_6.1.gemfile

This file was deleted.

17 changes: 0 additions & 17 deletions integration_test/gemfiles/ar_7.0.gemfile

This file was deleted.

14 changes: 0 additions & 14 deletions integration_test/gemfiles/ar_7.1.gemfile

This file was deleted.

14 changes: 0 additions & 14 deletions integration_test/gemfiles/ar_7.2.gemfile

This file was deleted.

0 comments on commit 02b8d40

Please sign in to comment.