diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 4253893..738eb32 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -42,6 +42,16 @@ jobs: uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: bundler-cache: true + - name: Connect to Redis + # Runs a script that creates a Redis client, populates + # the client with data, and retrieves data + run: node client.js + # Environment variable used by the `client.js` script to create a new Redis client. + env: + # The hostname used to communicate with the Redis service container + REDIS_HOST: redis + # The default Redis port + REDIS_PORT: 6379 # Add or replace database setup steps here - name: Set up database schema run: bin/rails db:schema:load