Sha256: 76243e9fef59f5a1cc2e44b2211e7838dea59db6b928e922d2de8cda3f7392aa
Contents?: true
Size: 1.63 KB
Versions: 20
Compression:
Stored size: 1.63 KB
Contents
name: Testing on Windows on: push: branches: [master] pull_request: branches: [master] jobs: test: runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: ruby-version: ['2.7', '2.6'] os: - windows-latest experimental: [false] include: - ruby-version: '3.0.2' os: windows-latest experimental: true # On Ruby 3.0, we need to use fiddle 1.0.8 or later to retrieve correct # error code. In addition, we have to specify the path of fiddle by RUBYLIB # because RubyInstaller loads Ruby's bundled fiddle before initializing gem. # See also: # * https://github.com/ruby/fiddle/issues/72 # * https://bugs.ruby-lang.org/issues/17813 # * https://github.com/oneclick/rubyinstaller2/blob/8225034c22152d8195bc0aabc42a956c79d6c712/lib/ruby_installer/build/dll_directory.rb ruby-lib-opt: RUBYLIB=%RUNNER_TOOL_CACHE%/Ruby/3.0.2/x64/lib/ruby/gems/3.0.0/gems/fiddle-1.0.8/lib name: Unit testing with Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - name: Add Fiddle 1.0.8 if: ${{ matrix.ruby-version == '3.0.2' }} run: gem install fiddle --version 1.0.8 - name: Install dependencies run: ridk exec bundle install - name: Run tests run: bundle exec rake test TESTOPTS=-v ${{ matrix.ruby-lib-opt }}
Version data entries
20 entries across 20 versions & 1 rubygems