mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 03:10:39 -07:00
chore: Add RUBYOPT configuration to the tests (#1859)
Co-authored-by: Ian Ker-Seymer <[email protected]>
This commit is contained in:
co-authored by
Ian Ker-Seymer
parent
6453a0ea48
commit
2d0442798b
@@ -14,8 +14,21 @@ jobs:
|
|||||||
- { ruby: 3.0, allowed-failure: false } # minimum supported
|
- { ruby: 3.0, allowed-failure: false } # minimum supported
|
||||||
- { ruby: 3.2, allowed-failure: false }
|
- { ruby: 3.2, allowed-failure: false }
|
||||||
- { ruby: 3.3, allowed-failure: false }
|
- { ruby: 3.3, allowed-failure: false }
|
||||||
|
- { ruby: 3.3, allowed-failure: false }
|
||||||
- { ruby: 3.4, allowed-failure: false } # latest
|
- { ruby: 3.4, allowed-failure: false } # latest
|
||||||
|
- {
|
||||||
|
ruby: 3.4,
|
||||||
|
allowed-failure: false,
|
||||||
|
rubyopt: "--enable-frozen-string-literal",
|
||||||
|
}
|
||||||
|
- { ruby: 3.4, allowed-failure: false, rubyopt: "--yjit" }
|
||||||
- { ruby: ruby-head, allowed-failure: false }
|
- { 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 }}
|
name: Test Ruby ${{ matrix.entry.ruby }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -26,6 +39,8 @@ jobs:
|
|||||||
bundler: latest
|
bundler: latest
|
||||||
- run: bundle exec rake
|
- run: bundle exec rake
|
||||||
continue-on-error: ${{ matrix.entry.allowed-failure }}
|
continue-on-error: ${{ matrix.entry.allowed-failure }}
|
||||||
|
env:
|
||||||
|
RUBYOPT: ${{ matrix.entry.rubyopt }}
|
||||||
|
|
||||||
memory_profile:
|
memory_profile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user