Sha256: 56c95befb54b1abf93f1c29c1353227ad7226ed27ad3413aea013e76873035f8

Contents?: true

Size: 761 Bytes

Versions: 3

Compression:

Stored size: 761 Bytes

Contents

name: Unit Tests

on:
  pull_request:

permissions:
  contents: read

jobs:
  run:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['3.2', '3.1', '3.0', '2.7', '2.6']
      
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install apt dependencies
        run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev # needed by faraday-patron gem

      - name: Set up Ruby ${{ matrix.ruby-version }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}

      - name: Install dependencies
        run: bundle install

      - name: Run tests
        env: 
          IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }}
        run: bundle exec rake

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
IPinfo-2.2.4 .github/workflows/unittest.yaml
IPinfo-2.2.3 .github/workflows/unittest.yaml
IPinfo-2.2.1 .github/workflows/unittest.yaml