Skip to content

Update copyright years. #81

Update copyright years.

Update copyright years. #81

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.ruby }} on ${{ matrix.os }}${{ matrix.name_suffix }}
strategy:
matrix:
os: [ubuntu-24.04, windows-2022]
ruby: ['1.9.3', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', jruby-1.7, jruby-9.0, jruby-9.1, jruby-9.2, jruby-9.3, jruby-9.4]
architecture: [default]
name_suffix: ['']
experimental: [false]
exclude:
- os: windows-2022
ruby: jruby-1.7
include:
- os: windows-2022
ruby: '2.0'
architecture: x86
name_suffix: ' (x86)'
experimental: false
- os: ubuntu-24.04
ruby: head
architecture: default
name_suffix: ' (experimental)'
experimental: true
- os: ubuntu-24.04
ruby: jruby-head
architecture: default
name_suffix: ' (experimental)'
experimental: true
- os: windows-2022
ruby: head
architecture: default
name_suffix: ' (experimental)'
experimental: true
- os: windows-2022
ruby: jruby-head
architecture: default
name_suffix: ' (experimental)'
experimental: true
- os: ubuntu-24.04
ruby: truffleruby-24
architecture: default
name_suffix: ' (experimental)'
experimental: true
fail-fast: false
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@v4
- if: startsWith(matrix.ruby, '1.') || (startsWith(matrix.ruby, '2.0') && startsWith(matrix.os, 'windows') && matrix.architecture == 'x86') || startsWith(matrix.ruby, 'jruby-1.7') || startsWith(matrix.ruby, 'jruby-9.0') || ((startsWith(matrix.ruby, 'jruby-9.1') || startsWith(matrix.ruby, 'jruby-9.2')) && startsWith(matrix.os, 'ubuntu-'))
uses: philr/setup-ruby@legacy-v1
with:
ruby-version: ${{ matrix.ruby }}
architecture: ${{ matrix.architecture }}
bundler-cache: true
- if: ${{ !(startsWith(matrix.ruby, '1.') || (startsWith(matrix.ruby, '2.0') && startsWith(matrix.os, 'windows') && matrix.architecture == 'x86') || startsWith(matrix.ruby, 'jruby-1.7') || startsWith(matrix.ruby, 'jruby-9.0') || ((startsWith(matrix.ruby, 'jruby-9.1') || startsWith(matrix.ruby, 'jruby-9.2')) && startsWith(matrix.os, 'ubuntu-'))) }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: ruby --version
- run: gem --version
- run: bundle --version
- run: bundle exec rake test
env:
TESTOPTS: --verbose