Skip to content

Commit

Permalink
Merge pull request #1157 from sul-dlss/ruby33
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo authored May 22, 2024
2 parents 4fd830b + 8a4b6ee commit e83cfd9
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,35 @@ name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2']
ruby: ["3.2", "3.3"]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-202103-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-202103-
- name: Bundle install
run: bundle config path vendor/bundle
- name: Install dependencies
run: bin/setup
- name: Run tests
run: bin/rake
- name: Run tests (with cocina feature flag enabled)
run: SETTINGS__FEATURES__COCINA=true bin/rake spec
- name: Run tests (with OCFL feature flag enabled)
run: SETTINGS__FEATURES__READ_STACKS_FROM_OCFL_ROOT=true bin/rake spec
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-202103-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-202103-
- name: Bundle install
run: bundle config path vendor/bundle
- name: Install dependencies
run: bin/setup
- name: Run tests
run: bin/rake
- name: Run tests (with cocina feature flag enabled)
run: SETTINGS__FEATURES__COCINA=true bin/rake spec
- name: Run tests (with OCFL feature flag enabled)
run: SETTINGS__FEATURES__READ_STACKS_FROM_OCFL_ROOT=true bin/rake spec

0 comments on commit e83cfd9

Please sign in to comment.