Skip to content

Change how the git CLI subprocess is executed #721

Change how the git CLI subprocess is executed

Change how the git CLI subprocess is executed #721

name: CI
on:
push:
branches: [master,v1]
pull_request:
branches: [master,v1]
workflow_dispatch:
jobs:
continuous_integration_build:
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
continue-on-error: ${{ matrix.experimental == 'Yes' }}
env: { JAVA_OPTS: -Djdk.io.File.enableADS=true }
strategy:
fail-fast: false
matrix:
ruby: [3.0, 3.1, 3.2, 3.3]
operating-system: [ubuntu-latest]
experimental: [No]
include:
- ruby: head
operating-system: ubuntu-latest
- ruby: truffleruby-23.1.1
operating-system: ubuntu-latest
- ruby: 3.0
operating-system: windows-latest
- ruby: jruby-9.4.5.0
operating-system: windows-latest
# Currently jruby is not support on windows for git-2.x.
# Remove this `experimental` flag when this build succeeds.
experimental: Yes
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run Build
run: bundle exec rake default
- name: Test Gem
run: bundle exec rake test:gem