Skip to content

Merge pull request #2140 from sul-dlss/pin-model-viewer #2366

Merge pull request #2140 from sul-dlss/pin-model-viewer

Merge pull request #2140 from sul-dlss/pin-model-viewer #2366

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Run tests (with XML)
run: bin/rake
env:
RAILS_ENV: test
- name: Run tests (with Cocina)
run: bin/rake
env:
SETTINGS__ENABLED_FEATURES__COCINA: true
RAILS_ENV: test