Skip to content

Timestamp Precision #44

Timestamp Precision

Timestamp Precision #44

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
turbostreamer:
name: CI
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '3.1'
- '3.2'
- '3.3'
encoder: [oj, wankel]
gemfile:
- rails_6_0
- rails_6_1
- rails_7_0
- rails_7_1
allow_failures:
- false
env:
BUNDLE_GEMFILE: "gemfiles/${{ matrix.gemfile }}.gemfile"
ALLOW_FAILURES: "${{ matrix.allow_failures }}"
steps:
- name: Install YAJL
run: |
wget 'https://github.com/lloyd/yajl/archive/refs/tags/2.1.0.tar.gz'
tar -xvf '2.1.0.tar.gz'
cd 'yajl-2.1.0' && ./configure && make && sudo make install
sudo ldconfig
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake test:${{ matrix.encoder }} || $ALLOW_FAILURES