Skip to content

Commit

Permalink
add postgres to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniewilkinson committed Jan 24, 2024
1 parent bd3f445 commit 8f8e067
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ jobs:
test:

runs-on: ubuntu-latest

services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: yonderbook_test
ports:
- 5432/tcp

strategy:
matrix:
ruby-version: ['3.2.2']
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.2.2
ruby-3.2.3
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ GEM
roda-route_list (2.1.0)
roda
rollbar (3.5.1)
rubocop (1.60.1)
rubocop (1.60.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand Down

0 comments on commit 8f8e067

Please sign in to comment.