feat: support cohort targeting for local evaluation #140
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: 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' |