Bump ruff from 0.1.14 to 0.2.2 #315
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 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.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 100% | |
run: | | |
pytest --cov=./blueprints --cov-fail-under=100 |