Skip to content

Commit 4c06713

Browse files
Run lazy loading smoke test in CI
1 parent 5e74d4b commit 4c06713

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ruby.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,18 @@ jobs:
5959

6060
- name: Run tests
6161
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)