Skip to content

feat: Add EnvironmentModel.identity_overrides for the local evaluation mode #418

feat: Add EnvironmentModel.identity_overrides for the local evaluation mode

feat: Add EnvironmentModel.identity_overrides for the local evaluation mode #418

Workflow file for this run

name: Flag Engine Pull Request
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
- release**
jobs:
test:
runs-on: ubuntu-latest
name: Flag engine Unit tests
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10']
steps:
- name: Cloning repo
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip download
uses: syphar/restore-pip-download-cache@v1
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Check Formatting
run: black --check .
- name: Check Imports
run: |
git ls-files | grep '\.py$' | xargs absolufy-imports
isort . --check
- name: Check flake8 linting
run: flake8 .
- name: Check Typing
run: mypy --strict .
- name: Run Tests
run: pytest -p no:warnings
- name: Check Coverage
uses: 5monkeys/cobertura-action@v13
with:
minimum_coverage: 100
fail_below_threshold: true