Skip to content

Commit 1ca07ae

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

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ name: Tests
99

1010
on:
1111
push:
12-
branches: [ main ]
12+
branches:
13+
- main
14+
- 'lazy-loading-beta'
1315
pull_request:
14-
branches: [ main ]
16+
branches:
17+
- main
18+
- 'lazy-loading-beta'
1519
workflow_dispatch:
1620

1721
permissions:
@@ -59,3 +63,18 @@ jobs:
5963

6064
- name: Run tests
6165
run: bundle exec rake test
66+
test-with-lazy-loading:
67+
name: Ruby 3.2 with lazy loading
68+
runs-on: ubuntu-latest
69+
env:
70+
BUNDLE_WITHOUT: benchmark
71+
steps:
72+
- uses: actions/checkout@v6
73+
- uses: ruby/setup-ruby@v1
74+
with:
75+
ruby-version: '3.2'
76+
bundler-cache: true
77+
78+
- name: Run tests with lazy load enabled
79+
run: FAKER_LAZY_LOAD=1 bundle exec rake test
80+

0 commit comments

Comments
 (0)