Skip to content

Reorganize and refactor CompactIndexClient #10366

Reorganize and refactor CompactIndexClient

Reorganize and refactor CompactIndexClient #10366

Workflow file for this run

name: jruby-bundler
on:
pull_request:
push:
branches:
- master
concurrency:
group: ci-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
defaults:
run:
shell: bash
jobs:
jruby_bundler:
name: Bundler on JRuby (${{ matrix.os }})
runs-on: ${{ matrix.os }}
env:
RGV: ..
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup ruby
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
with:
ruby-version: jruby-9.4.7.0
bundler: none
- name: Setup java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: 19.0.2
if: "!startsWith(matrix.os.name, 'ubuntu')"
- name: Prepare dependencies
run: |
bin/rake spec:parallel_deps
- name: Run Test
run: |
bin/parallel_rspec --tag jruby_only --tag jruby
working-directory: ./bundler
if: startsWith(matrix.os.name, 'ubuntu')
- name: Install local bundler
run: |
bin/rake bundler:install:local
if: startsWith(matrix.os.name, 'ubuntu')
- name: Run a warbler project
run: |
cd spec/realworld/fixtures/warbler
bundle install
bundle exec warble
java -jar warbler.jar
if: startsWith(matrix.os.name, 'ubuntu')