Skip to content

feat: support cohort targeting for local evaluation #210

feat: support cohort targeting for local evaluation

feat: support cohort targeting for local evaluation #210

name: Test and Lint
on: [pull_request]
jobs:
test:
environment: Unit Test
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7.8', '3.1', 'jruby']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests and lint
env:
API_KEY: ${{ secrets.API_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
EU_API_KEY: ${{ secrets.EU_API_KEY }}
EU_SECRET_KEY: ${{ secrets.EU_SECRET_KEY }}
run: bundle exec rake