[release] 0.50.1 - Small log improvement (#378) #1282
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: 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 --upgrade pylint | |
pip install --upgrade mypy | |
pip install --upgrade -r requirements.txt | |
pip install --upgrade .[test] | |
- name: Run Linter | |
run: pylint ./statsig --rcfile .pylintrc | |
- name: Run Type Checker | |
run: | | |
pip install types-requests | |
pip install types-redis | |
pip install types-protobuf | |
mypy ./statsig --ignore-missing-imports --check-untyped-defs --exclude ./build/lib,./statsig/grpc | |
- 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 }} | |