Skip to content

Explicitly require ostruct for StimulusReflex::Dataset #1993

Explicitly require ostruct for StimulusReflex::Dataset

Explicitly require ostruct for StimulusReflex::Dataset #1993

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- '*'
push:
branches:
- main
jobs:
javascript_test:
name: JavaScript Test Action
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 19, 20, 21]
steps:
- uses: actions/checkout@v4
- name: Setup Node v${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Yarn install
run: yarn
- name: Run JavaScript Tests
run: yarn run test
ruby_test:
name: Ruby Test Action
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0', 3.1, 3.2, 3.3]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby v${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run ruby tests
run: bundle exec rake test_ruby