Skip to content

Bump version 4.0.1 #357

Bump version 4.0.1

Bump version 4.0.1 #357

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 flake8 linting
run: flake8 .
- name: Run Tests
run: pytest -p no:warnings
- name: Check Coverage
uses: 5monkeys/cobertura-action@v13
with:
minimum_coverage: 100
fail_below_threshold: true