Skip to content

Try Time.new(string, in: 0) for parsing. #18

Try Time.new(string, in: 0) for parsing.

Try Time.new(string, in: 0) for parsing. #18

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
env:
CONSOLE_OUTPUT: XTerm
jobs:
test:
name: ${{matrix.ruby}} on ${{matrix.os}}
runs-on: ${{matrix.os}}-latest
continue-on-error: ${{matrix.experimental}}
strategy:
matrix:
os:
- ubuntu
ruby:
- "3.1"
- "3.2"
- "3.3"
experimental: [false]
include:
- os: ubuntu
ruby: truffleruby
experimental: true
- os: ubuntu
ruby: jruby
experimental: true
- os: ubuntu
ruby: head
experimental: true
services:
postgres:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test
POSTGRES_HOST_AUTH_METHOD: trust
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 20
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Installing dependencies (ubuntu)
if: matrix.os == 'ubuntu'
run: |
sudo apt-get install postgresql postgresql-contrib
- name: Run tests
timeout-minutes: 10
run: bundle exec bake test