Skip to content

Commit

Permalink
fix: database url
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Jan 24, 2024
1 parent 08bef70 commit 7c7d3b1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
- activerecord_6.1
- activerecord_edge
adapter:
- 'sqlite3:///:memory:'
- mysql2://root:root@0/closure_tree_test
- postgres://closure_tree:closure_tree@0/closure_tree_test
- 'sqlite3:///tmp/closure_tree_test.sqlite3'
- mysql2://root:root@localhost:3306/closure_tree_test
- postgres://closure_tree:closure_tree@localhost:5432/closure_tree_test
exclude:
- ruby: '3.0'
rails: activerecord_edge
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
- activerecord_7.0
- activerecord_6.1
adapter:
- 'sqlite3:///:memory:'
- mysql2://root:root@0/closure_tree_test
- postgres://closure_tree:closure_tree@0/closure_tree_test
- 'sqlite3:///tmp/closure_tree_test.sqlite3'
- mysql2://root:root@localhost:3306/closure_tree_test
- postgres://closure_tree:closure_tree@localhost:5432/closure_tree_test
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/ci_truffleruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ jobs:
- activerecord_7.0
- activerecord_6.1
adapter:
- 'sqlite3:///:memory:'
- mysql2://root:root@0/closure_tree_test
- postgres://closure_tree:closure_tree@0/closure_tree_test

- 'sqlite3:///tmp/closure_tree_test.sqlite3'
- mysql2://root:root@localhost:3306/closure_tree_test
- postgres://closure_tree:closure_tree@localhost:5432/closure_tree_test
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ source 'https://rubygems.org'

gemspec

platform :mri do
group :development do
gem 'bump', '~> 0.10.0'
gem 'github_changelog_generator', '~> 1.16'
end
end
14 changes: 1 addition & 13 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ RSpec::Core::RakeTask.new(:spec) do |task|
task.pattern = 'spec/closure_tree/*_spec.rb'
end

task default: %i[spec test]

namespace :spec do
desc 'Run all spec variants'
task :all do
Expand All @@ -29,14 +27,4 @@ Rake::TestTask.new do |t|
t.verbose = true
end

if RUBY_ENGINE == 'ruby'
require 'github_changelog_generator/task'
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.user = 'ClosureTree'
config.project = 'closure_tree'
config.issues = false
config.future_release = '5.2.0'
config.since_tag = 'v7.4.0'
end
end
task default: 'spec:all'
task default: %i[spec:all test]

0 comments on commit 7c7d3b1

Please sign in to comment.