Skip to content

ci: incorporate more style check and package build elements from Bioc… #11

ci: incorporate more style check and package build elements from Bioc…

ci: incorporate more style check and package build elements from Bioc… #11

Workflow file for this run

name: Python package
on:
push:
pull_request:
jobs:
cqa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: '**/setup.cfg'
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install --use-deprecated=legacy-resolver -e .[dev]
- name: Lint with Ruff
run: python3 -m ruff check src/
- name: Format check with black
run: black --check src
- name: Security check with bandit
run: bandit -ll -r src