Skip to content

Commit

Permalink
Correct env variables configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Sep 23, 2024
1 parent 301855e commit 13bb6f9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
env:
HOST: localhost
REDIS_HOST: localhost:6379

steps:
- name: Checkout code
Expand All @@ -26,9 +29,5 @@ jobs:
- name: Install dependencies
run: bundle install

- name: Set environment variables
run: echo "HOST=localhost" >> $GITHUB_ENV
run: echo "REDIS_HOST=localhost:6379" >> $GITHUB_ENV

- name: Run tests
run: bundle exec rspec spec

0 comments on commit 13bb6f9

Please sign in to comment.