Skip to content

Rectangular reinforced cross section (including visualisation) #849

Rectangular reinforced cross section (including visualisation)

Rectangular reinforced cross section (including visualisation) #849

# 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.11", "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