Add DOSTime#<=>
and a warning message to DOSTime#dos_equals
.
#262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu] | |
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', jruby, truffleruby] | |
include: | |
- os: macos | |
ruby: '2.4' | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- name: Checkout rubyzip code | |
uses: actions/checkout@v4 | |
- name: Install and set up ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
rubygems: '3.2.3' | |
bundler-cache: true | |
- name: Run the tests | |
env: | |
RUBYOPT: -v | |
JRUBY_OPTS: --debug | |
FULL_ZIP64_TEST: 1 | |
run: bundle exec rake | |
test-yjit: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu, macos] | |
ruby: ['3.1', head] | |
runs-on: ${{ matrix.os }}-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout rubyzip code | |
uses: actions/checkout@v4 | |
- name: Install and set up ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run the tests | |
env: | |
RUBYOPT: --enable-yjit -v | |
FULL_ZIP64_TEST: 1 | |
run: bundle exec rake |