Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo committed Sep 26, 2023
1 parent b1e63aa commit 41538fd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,21 @@ jobs:
RAILS_ENV: test
RAILS_MASTER_KEY: ${{ secrets.master_key }}
run: |
bin/rake db:create
bin/rake db:schema:load
bin/rake db:migrate
bin/rails db:create
bin/rails db:schema:load
bin/rails db:migrate
- name: Build assets
env:
RAILS_ENV: test
RAILS_MASTER_KEY: ${{ secrets.master_key }}
run: |
bin/rake assets:precompile
bin/rails assets:precompile
- name: Run tests
env:
AWS_REGION: us-east-1
REDIS_URL: redis://localhost:6379/0
RAILS_MASTER_KEY: ${{ secrets.master_key }}
run: |
bin/rake test
bin/rails test
- name: Upload artifacts
if: failure()
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 41538fd

Please sign in to comment.