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 #39

Merged
merged 4 commits into from
Nov 2, 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
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/specs_mysql_60.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .github/workflows/specs_mysql_61.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ jobs:
- name: Start database service
run: sudo /etc/init.d/mysql start

- name: Create database
run: bundle exec rails db:create

- name: Apply migrations
run: bundle exec rails db:migrate
- name: Database setup
run: bundle exec rails db:create db:migrate

- name: Run tests
run: bundle exec rspec --profile
9 changes: 3 additions & 6 deletions .github/workflows/specs_mysql_70.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
ruby: ['2.7', '3.0']
ruby: ['3.0', '3.2']
gemfile: ['rails_7_0_mysql']

env:
Expand Down Expand Up @@ -51,11 +51,8 @@ jobs:
- name: Start database service
run: sudo /etc/init.d/mysql start

- name: Create database
run: bundle exec rails db:create

- name: Apply migrations
run: bundle exec rails db:migrate
- name: Database setup
run: bundle exec rails db:create db:migrate

- name: Run tests
run: bundle exec rspec --profile
7 changes: 2 additions & 5 deletions .github/workflows/specs_mysql_71.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ jobs:
- name: Start database service
run: sudo /etc/init.d/mysql start

- name: Create database
run: bundle exec rails db:create

- name: Apply migrations
run: bundle exec rails db:migrate
- name: Database setup
run: bundle exec rails db:create db:migrate

- name: Run tests
run: bundle exec rspec --profile
65 changes: 0 additions & 65 deletions .github/workflows/specs_postgres_60.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .github/workflows/specs_postgres_61.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,8 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Create database
run: bundle exec rails db:create

- name: Apply migrations
run: bundle exec rails db:migrate
- name: Database setup
run: bundle exec rails db:create db:migrate

- name: Run tests
run: bundle exec rspec --profile
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/specs_postgres_70.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
ruby: ['2.7', '3.0']
ruby: ['3.0', '3.2']
gemfile: ['rails_7_0_postgres']

env:
Expand Down Expand Up @@ -48,11 +48,8 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Create database
run: bundle exec rails db:create

- name: Apply migrations
run: bundle exec rails db:migrate
- name: Database setup
run: bundle exec rails db:create db:migrate

- name: Run tests
run: bundle exec rspec --profile
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/specs_postgres_71.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,8 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Create database
run: bundle exec rails db:create

- name: Apply migrations
run: bundle exec rails db:migrate
- name: Database setup
run: bundle exec rails db:create db:migrate

- name: Run tests
run: bundle exec rspec --profile
Expand Down
10 changes: 0 additions & 10 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# frozen_string_literal: true

appraise 'rails-6_0-postgres' do
gem 'pg'
gem 'rails', '~> 6.0.0'
end

appraise 'rails-6_1-postgres' do
gem 'pg'
gem 'rails', '~> 6.1.0'
Expand All @@ -20,11 +15,6 @@ appraise 'rails-7_1-postgres' do
gem 'rails', '~> 7.1.0'
end

appraise 'rails-6_0-mysql' do
gem 'mysql2'
gem 'rails', '~> 6.0.0'
end

appraise 'rails-6_1-mysql' do
gem 'mysql2'
gem 'rails', '~> 6.1.0'
Expand Down
25 changes: 0 additions & 25 deletions gemfiles/rails_6_0_mysql.gemfile

This file was deleted.

Loading
Loading