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 e01f3ec
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 29 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
ports: ['5432:5432']
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: closure_tree
POSTGRES_DB: closure_tree_test
options: >-
--health-cmd pg_isready
Expand All @@ -50,9 +51,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@127.0.0.1:3306/closure_tree_test
- postgres://closure_tree:closure_tree@localhost:5432/closure_tree_test
exclude:
- ruby: '3.0'
rails: activerecord_edge
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci_jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
ports: ['5432:5432']
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: closure_tree
POSTGRES_DB: closure_tree_test
options: >-
--health-cmd pg_isready
Expand All @@ -43,9 +44,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@127.0.0.1:3306/closure_tree_test
- postgres://closure_tree:closure_tree@localhost:5432/closure_tree_test
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_truffleruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
ports: ['5432:5432']
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: closure_tree
POSTGRES_DB: closure_tree_test
options: >-
--health-cmd pg_isready
Expand All @@ -45,10 +46,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@127.0.0.1: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 e01f3ec

Please sign in to comment.