Skip to content

Commit

Permalink
Update Rails CI with ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejb2k committed Sep 5, 2023
1 parent 2c7d3cb commit 194bcd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
env:
RAILS_ENV: test
DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY: ${{ secrets.ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY }}
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY: ${{ secrets.ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY }}
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT: ${{ secrets.ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -28,7 +31,6 @@ jobs:
bundler-cache: true
- name: Set up database schema
run: |
bin/rails db:encryption:init
bin/rails db:schema:load
bin/rails db:seed
- name: Run tests
Expand Down

0 comments on commit 194bcd9

Please sign in to comment.