Skip to content

Commit

Permalink
WIP: Consoldate env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMulhern committed Aug 14, 2024
1 parent 58c3522 commit ce001dd
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
image: redis
ports: ["6379:6379"]

env:
RAILS_ENV: test
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres
SKIP_YARN_INSTALL: true

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -84,9 +90,6 @@ jobs:
yarn install
- name: Build assets
env:
RAILS_ENV: test
SKIP_YARN_INSTALL: true
run: |
bin/rails javascript:build
bin/rails css:build
Expand All @@ -96,14 +99,6 @@ jobs:
bundle exec rake parallel:create
bundle exec rake parallel:load_schema
bundle exec rake parallel:migrate
env:
RAILS_ENV: test
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres
- name: Run tests
env:
RAILS_ENV: test
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres
run: ./bin/ci_spec

0 comments on commit ce001dd

Please sign in to comment.