Sha256: e0efa93b3fb973588a2f080b501093414ddbe46b71821a99ec081ed85d5a0ecb

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: ['**']

jobs:
  tests:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', 'jruby-9.1', 'jruby-9.2' ]
    name: Ruby ${{ matrix.ruby }}
    steps:
    - uses: actions/checkout@v2

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}

    - name: set JAVA_OPTS for jruby-9.1
      run: echo 'JAVA_OPTS="--add-opens java.base/java.security.cert=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.util.zip=ALL-UNNAMED"' >> $GITHUB_ENV
      if: ${{ matrix.ruby == 'jruby-9.1' }}
      # https://github.com/jruby/jruby/issues/4834
      # Still seems to be an issue in jruby-9.1, but not 9.2
      # https://github.community/t/conditional-setting-of-env-variables-in-gh-actions/179650

    - name: Install dependencies
      run: bundle install --jobs 4 --retry 3
    - name: Run tests
      run: bundle exec rake

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
traject-3.8.1 .github/workflows/ruby.yml
traject-3.8.0 .github/workflows/ruby.yml