Skip to content

[release] 0.32.0 - Evaluation Performance Improvements, Typing (#257) #1256

[release] 0.32.0 - Evaluation Performance Improvements, Typing (#257)

[release] 0.32.0 - Evaluation Performance Improvements, Typing (#257) #1256

Workflow file for this run

name: tests
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install Deps
run: |
pip install pylint
pip install mypy
pip install -r requirements.txt
pip install .[test]
- name: Run Linter
run: pylint ./statsig --rcfile .pylintrc
- name: Run Type Checker
run: |
pip install types-requests
pip install types-redis
mypy ./statsig --ignore-missing-imports --check-untyped-defs --exclude ./build/lib
- name: Run Tests
run: python3 -m unittest discover -s ./tests --verbose
env:
test_api_key: ${{ secrets.SDK_CONSISTENCY_TEST_COMPANY_API_KEY }}
test_client_key: ${{ secrets.KONG_CLIENT_SDK_KEY }}