Skip to content

feat: support cohort targeting for local evaluation #145

feat: support cohort targeting for local evaluation

feat: support cohort targeting for local evaluation #145

Workflow file for this run

name: Unit Test
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
environment: Unit Test
strategy:
matrix:
python-version: [ "3.7" ]
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install requirements
run: pip install -r requirements.txt && pip install -r requirements-dev.txt
- name: Unit Test
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: python -m unittest discover -s ./tests -p '*_test.py'