From 5957206ee8d0368912abaa326a4c219c2a703dff Mon Sep 17 00:00:00 2001 From: Michael Nikitochkin Date: Sat, 30 Nov 2024 10:16:51 +0100 Subject: [PATCH] chore: Add RUBYOPT configuration to the tests --- .github/workflows/liquid.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/liquid.yml b/.github/workflows/liquid.yml index cb1087695..58e028bda 100644 --- a/.github/workflows/liquid.yml +++ b/.github/workflows/liquid.yml @@ -14,7 +14,19 @@ jobs: - { ruby: 3.0, allowed-failure: false } # minimum supported - { ruby: 3.2, allowed-failure: false } - { ruby: 3.3, allowed-failure: false } # latest + - { + ruby: 3.3, + allowed-failure: false, + rubyopt: "--enable-frozen-string-literal", + } + - { ruby: 3.3, allowed-failure: false, rubyopt: "--yjit" } - { ruby: ruby-head, allowed-failure: false } + - { + ruby: ruby-head, + allowed-failure: false, + rubyopt: "--enable-frozen-string-literal", + } + - { ruby: ruby-head, allowed-failure: false, rubyopt: "--yjit" } name: Test Ruby ${{ matrix.entry.ruby }} steps: - uses: actions/checkout@v3 @@ -25,6 +37,8 @@ jobs: bundler: latest - run: bundle exec rake continue-on-error: ${{ matrix.entry.allowed-failure }} + env: + RUBYOPT: ${{ matrix.entry.rubyopt }} memory_profile: runs-on: ubuntu-latest