Skip to content

Bug fix for the #filing_version logic #103

Bug fix for the #filing_version logic

Bug fix for the #filing_version logic #103

Workflow file for this run

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: Set up bigdecimal for jruby 9.1
run: gem install bigdecimal -v '1.4.4' --source 'https://rubygems.org/'
if: ${{ matrix.ruby == 'jruby-9.1' }}
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake