Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on ruby 3.3 #1157

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading