(#89) added formula 8.17 from NEN-EN 1992-1-1+C2:2011 #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will make sure that incoming changes via pull requests | |
# will not decrease the code coverage to less than 99%. | |
name: Assure a minimum code coverage of 99% | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
name: Code coverage with python ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
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 at least 99.7% | |
run: | | |
pip install pytest | |
pip install pytest-cov | |
pytest --cov=./blueprints --cov-fail-under=99.7 |