Skip to content

Added installation of apt dependencies on gems push. #32

Added installation of apt dependencies on gems push.

Added installation of apt dependencies on gems push. #32

Workflow file for this run

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: apt-get update && 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