From 1a86e5e0a46b1998a58a24abac393bec7239e3a7 Mon Sep 17 00:00:00 2001 From: Mikk Romulus Date: Tue, 5 Dec 2023 15:49:49 +0200 Subject: [PATCH] chore: attempt CI fix --- .github/workflows/rubyonrails.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 42830f61..a0199245 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -7,9 +7,9 @@ name: "Ruby on Rails CI" on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: test: runs-on: ubuntu-latest @@ -37,10 +37,10 @@ jobs: run: echo $GITHUB_HEAD_REF > CURRENT_VERSION # Add or replace database setup steps here - name: Set up database schema - run: env; bin/rails db:schema:load + run: DATABASE_URL="postgres://rails:password@localhost:5432/rails_test" bin/rails db:schema:load # Add or replace test runners here - name: Run tests - run: bin/rake + run: DATABASE_URL="postgres://rails:password@localhost:5432/rails_test" bin/rake lint: runs-on: ubuntu-latest