File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 - name : Run RuboCop
3535 run : bundle exec rake rubocop
3636 test :
37- name : Ruby ${{ matrix.ruby }}
38- runs-on : ubuntu-latest
39- env :
40- BUNDLE_WITHOUT : benchmark
41- strategy :
42- fail-fast : false # don't fail all matrix builds if one fails
43- matrix :
44- ruby :
45- - ' 3.1'
46- - ' 3.2'
47- - ' 3.3'
48- - ' 3.4'
49- - ' 4.0'
50- - ' head'
51- - truffleruby-head
52- continue-on-error : ${{ endsWith(matrix.ruby, 'head') }}
53- steps :
54- - uses : actions/checkout@v6
55- - uses : ruby/setup-ruby@v1
56- with :
57- ruby-version : ${{ matrix.ruby }}
58- bundler-cache : true
59-
60- - name : Run tests
61- run : bundle exec rake test
62- test-with-lazy-load :
6337 name : Ruby ${{ matrix.ruby }}
6438 runs-on : ubuntu-latest
6539 env :
7549 - ' 4.0'
7650 - ' head'
7751 - truffleruby-head
52+ include :
53+ - FAKER_LAZY_LOAD : ' 1'
54+ - FAKER_LAZY_LOAD : ' 0'
7855 continue-on-error : ${{ endsWith(matrix.ruby, 'head') }}
7956 steps :
8057 - uses : actions/checkout@v6
8360 ruby-version : ${{ matrix.ruby }}
8461 bundler-cache : true
8562
86- - name : Run tests with lazy load enabled
87- env :
88- LAZY_LOAD : 1
89- run : bundle exec rake test
63+ - name : Run tests
64+ run : |
65+ echo "Faker lazy load is ${{ matrix.FAKER_LAZY_LOAD }}"
66+ ${{ matrix.FAKER_LAZY_LOAD }} bundle exec rake test
You can’t perform that action at this time.
0 commit comments