Skip to content

Commit

Permalink
Fix Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
smolnar committed Mar 20, 2024
1 parent b62de83 commit 2d817d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
jobs:
test:
runs-on: ubuntu-latest
container:
image: ruby:3.3.0

services:
postgres:
Expand All @@ -34,11 +36,6 @@ jobs:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"

- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
bundler-cache: true

- name: Install Bundle
env:
RAILS_ENV: test
Expand Down
4 changes: 2 additions & 2 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ opencourts: &opencourts
adapter: postgresql
encoding: utf8
pool: 100
host: 127.0.0.1
host: localhost
username: <%= ENV['OPENCOURTS_DATABASE_USER'] %>
password: <%= ENV['OPENCOURTS_DATABASE_PASSWORD'] %>

defaults: &defaults
adapter: postgresql
encoding: utf8
pool: 100
host: 127.0.0.1
host: localhost
username: <%= ENV['OPENCOURTS_API_DATABASE_USER'] %>
password: <%= ENV['OPENCOURTS_API_DATABASE_PASSWORD'] %>

Expand Down

0 comments on commit 2d817d7

Please sign in to comment.