Skip to content

Commit 8508822

Browse files
committed
Remove PostgreSQL service from GitHub Actions
We use SQLite so there’s no need to spin up an extra database.
1 parent 68d14d1 commit 8508822

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,13 @@ jobs:
3838
rails_version: 8.0
3939
- ruby_version: 3.1
4040
rails_version: 8.1
41-
services:
42-
db:
43-
image: postgres:18
44-
ports: ["5432:5432"]
45-
env:
46-
POSTGRES_USER: postgres
47-
POSTGRES_PASSWORD: postgres
48-
options: >-
49-
--health-cmd pg_isready
50-
--health-interval 10s
51-
--health-timeout 5s
52-
--health-retries 5
5341
steps:
5442
- uses: actions/checkout@v1
5543
- name: Setup Ruby
5644
uses: ruby/setup-ruby@v1
5745
with:
5846
ruby-version: ${{ matrix.ruby_version }}
5947
- name: Build and run test
60-
env:
61-
DATABASE_URL: postgres://postgres:@localhost:5432/test
62-
POSTGRES_USER: postgres
63-
POSTGRES_PASSWORD: postgres
6448
run: |
6549
sudo apt-get -yqq install libpq-dev
6650
bundle

0 commit comments

Comments
 (0)