Skip to content

Commit

Permalink
test yml edits
Browse files Browse the repository at this point in the history
  • Loading branch information
DianaLiao committed Jan 9, 2025
1 parent 1f72c1d commit a67407e
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,12 @@ on:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11-alpine
ports:
- "5432:5432"
env:
POSTGRES_DB: rails_test
POSTGRES_USER: rails
POSTGRES_PASSWORD: password
env:
RAILS_ENV: test
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
DB_CONNECTION: sqlite3
DB_DATABASE: test.sqlite3
steps:
- name: Create Database
run: touch test.sqlite3
- name: Checkout code
uses: actions/checkout@v4
# Add or replace dependency steps here
Expand Down

0 comments on commit a67407e

Please sign in to comment.