Skip to content

Commit a7fb56b

Browse files
committed
Try fix
1 parent f2d221f commit a7fb56b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ jobs:
5151
env:
5252
RAILS_ENV: test
5353
CI: true
54-
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
5554
steps:
5655
- name: Checkout code
5756
uses: actions/checkout@v4
@@ -61,12 +60,16 @@ jobs:
6160
with:
6261
ruby-version: ${{ matrix.ruby }}
6362
bundler-cache: true
63+
env:
64+
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
6465

6566
- name: Set up Dummy
6667
run: spec/dummy/bin/setup
68+
env:
69+
BUNDLE_GEMFILE: ../../gemfiles/${{ matrix.appraisal }}.gemfile
6770

6871
- name: Run tests
69-
run: bin/rspec
72+
run: bin/appraisal ${{ matrix.appraisal }} rspec
7073

7174
- name: Run tests with customization
72-
run: CHANGE_FIELD_BASE_CLASS=true CHANGE_VALUE_CLASS=true bin/rspec
75+
run: CHANGE_FIELD_BASE_CLASS=true CHANGE_VALUE_CLASS=true bin/appraisal ${{ matrix.appraisal }} rspec

0 commit comments

Comments
 (0)