Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

FF-3150 feat: allow passing initial_configuration #25

FF-3150 feat: allow passing initial_configuration

FF-3150 feat: allow passing initial_configuration #25

Workflow file for this run

name: Lint and Test SDK
on:
pull_request:
paths:
- '**/*'
workflow_dispatch:
jobs:
check-format-with-black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: "actions/setup-python@v2"
with:
python-version: '3.x'
- name: "install dependencies"
run: |
python -m pip install black
black --version
- name: "format-black"
run: |
black . --check --diff
lint-with-flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: "actions/setup-python@v2"
with:
python-version: '3.x'
- name: "install dependencies"
run: |
python -m pip install flake8
- name: "lint-flake8"
run: |
flake8 . --max-line-length 120
type-check-with-mypy:
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v2"
- name: "Install dependencies"
run: |
python -VV
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
python -m pip install -r requirements-test.txt
- name: "Run mypy tests"
run: |
mypy .
run-tests-with-tox:
runs-on: ubuntu-latest
steps:
- uses: Eppo-exp/python-sdk/.github/actions/action-test@main
with:
sdk_branch: ${{ github.head_ref || github.ref_name }}