Skip to content

Commit

Permalink
Merge pull request #12 from cs169/187093755-PG-On-Test
Browse files Browse the repository at this point in the history
ci: configure PG
  • Loading branch information
Zzz212zzZ authored Feb 23, 2024
2 parents 2d1f2d0 + cba01be commit c69dd93
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ on: [push, pull_request]

jobs:
build:
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
runs-on: ubuntu-latest
env:
DB_USER: postgres
RAILS_ENV: test
RUBY_ENV: test
steps:
- uses: actions/checkout@v1
- name: Install Ruby
Expand Down

0 comments on commit c69dd93

Please sign in to comment.