From fd0986fe3bb44cc227547ac55889eb3b3a4e055a Mon Sep 17 00:00:00 2001 From: Naviunni Date: Thu, 3 Oct 2024 22:46:29 -0500 Subject: [PATCH] Update rubyonrails.yml --- .github/workflows/rubyonrails.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 28124db..bfb4b9b 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -13,19 +13,19 @@ 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 + # 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" + # DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test" RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }} steps: - name: Checkout code @@ -39,8 +39,8 @@ jobs: - name: Install dependencies run: bundle install # Add or replace database setup steps here - - name: Set up database schema - run: bin/rails db:schema:load + #- name: Set up database schema + # run: bin/rails db:schema:load # Add or replace test runners here - name: Run tests run: bundle exec rspec