Skip to content

chore(release): v0.0.3 #25

chore(release): v0.0.3

chore(release): v0.0.3 #25

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r bbpp/requirements-ci.txt
- name: Lint check the code
run: |
blue . --check --diff --extend-exclude requirements*
- name: Strict typing check
run: |
mypy bbpp/*.py --ignore-missing-imports
- name: Bandit code security check
run: |
bandit bbpp/*.py -ll
- name: Tests
run: |
pytest --cov=bbpp --cov-fail-under=50 tests/*