Skip to content

Commit

Permalink
fixup! Transition CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilyeo committed Jun 20, 2024
1 parent 546c4cc commit 2b98669
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/rubyonrails.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: "Ruby on Rails CI"
name: CI

on:
push:
branches: ["main"]
branches: [main]
pull_request:
branches: ["main"]
branches: [main]

jobs:
test:
name: Specs

runs-on: ubuntu-latest

services:
postgres:
image: postgres:latest
ports:
- "5432:5432"
- 5432:5432
env:
POSTGRES_USER: til_test
POSTGRES_PASSWORD: pwd
Expand All @@ -26,7 +28,7 @@ jobs:
env:
RAILS_ENV: test
DATABASE_URL: "postgres://til_test:pwd@localhost:5432/til_test"
DATABASE_URL: postgres://til_test:pwd@localhost:5432/til_test

steps:
- name: Checkout code
Expand Down

0 comments on commit 2b98669

Please sign in to comment.