feat: support cohort targeting for local evaluation #215
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |