Skip to content

Commit

Permalink
Try using the right syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcharlton committed Nov 19, 2024
1 parent d0701de commit 2bd6be3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,21 @@ jobs:
with:
cache: yarn
- name: Install Ruby dependencies
run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle install
run: bundle install
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
- name: Install JS dependencies
run: yarn install
- name: Setup the environment
run: cp .sample.env .env
- run: cp spec/example_app/config/database.yml.sample spec/example_app/config/database.yml
- name: Setup the database
run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle exec rake db:setup
run: bundle exec rake db:setup
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
- name: Build assets
run: yarn run build && yarn run build:css
- name: Run tests
run: BUNDLE_GEMFILE=gemfiles/${{ matrix.appraisal }}.gemfile bundle exec rspec
run: bundle exec rspec
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile

0 comments on commit 2bd6be3

Please sign in to comment.