Skip to content

Commit

Permalink
work on redis connetion
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeheft committed Jul 3, 2024
1 parent 9df8140 commit 765797b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rspec_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:

redis:
image: redis
ports:
- 6379:6379
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- name: Checkout code
Expand All @@ -43,6 +46,7 @@ jobs:
PGUSER: postgres
PGPORT: ${{ job.services.postgres.ports[5432] }} # Access the PostgreSQL service port correctly
PGPASSWORD: ${{ secrets.ROUTE_RATER_DATABASE_PASSWORD }}
REDIS_URL: redis://localhost:6379/1
RAILS_ENV: test
run: |
bin/rails db:create db:migrate db:schema:load
Expand Down

0 comments on commit 765797b

Please sign in to comment.