Skip to content

Commit fa91234

Browse files
Run lazy load smoke test in CI
1 parent 0c9dc19 commit fa91234

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/ruby.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ jobs:
4949
- '4.0'
5050
- 'head'
5151
- truffleruby-head
52-
include:
53-
- FAKER_LAZY_LOAD: '1'
54-
- FAKER_LAZY_LOAD: '0'
5552
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
5653
steps:
5754
- uses: actions/checkout@v6
@@ -61,4 +58,19 @@ jobs:
6158
bundler-cache: true
6259

6360
- name: Run tests
64-
run: FAKER_LAZY_LOADING=${{ matrix.FAKER_LAZY_LOAD }} bundle exec rake test
61+
run: bundle exec rake test
62+
test-with-lazy-loading:
63+
name: Ruby 3.2 with lazy loading
64+
runs-on: ubuntu-latest
65+
env:
66+
BUNDLE_WITHOUT: benchmark
67+
steps:
68+
- uses: actions/checkout@v6
69+
- uses: ruby/setup-ruby@v1
70+
with:
71+
ruby-version: '3.2'
72+
bundler-cache: true
73+
74+
- name: Run tests with lazy load enabled
75+
run: FAKER_LAZY_LOAD=1 bundle exec rake test
76+

0 commit comments

Comments
 (0)