Skip to content

370 feature request formula11 1 pr en 1995 1 1 2023 #927

370 feature request formula11 1 pr en 1995 1 1 2023

370 feature request formula11 1 pr en 1995 1 1 2023 #927

# This workflow will make sure that incoming changes via pull requests
# will not decrease the code coverage to less than 100%.
name: Check code coverage is 100%
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
name: Code coverage with python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: pip install --upgrade pip
- name: Install package
run: python -m pip install -e .[dev]
- name: Check code coverage is 100%
run: |
pytest --cov=./blueprints --cov-fail-under=100