Skip to content

Merge pull request #4 from ipdata/claude/ruby-ipdata-sdk-EtZpA #8

Merge pull request #4 from ipdata/claude/ruby-ipdata-sdk-EtZpA

Merge pull request #4 from ipdata/claude/ruby-ipdata-sdk-EtZpA #8

Workflow file for this run

# frozen_string_literal: true
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Run tests
run: ruby -Ilib -Itest -e "Dir['test/test_*.rb'].each { |f| require File.expand_path(f) }"
- name: Verify gem builds
run: gem build ipdata.gemspec