* Fixed for Ruby 4, changed OpenStruct to data, fixed tests, updated minimum ruby version to 3.2 for use of Data.define * Update CI * Lets test ruby 3 and 4, and ubuntu and osx * Let's do the fancy verbose rspec output
29 lines
567 B
YAML
29 lines
567 B
YAML
name: N65
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
ruby: ['3.2', '4.0']
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ matrix.ruby }}
|
|
bundler-cache: true
|
|
- name: Install dependencies
|
|
run: bundle install
|
|
- name: Run tests
|
|
run: bundle exec rspec -f d
|