Skip to content

Prepare project for public release #1

Prepare project for public release

Prepare project for public release #1

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
python:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install development dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
- name: Ruff
run: ruff check .
- name: Bandit
run: bandit -c pyproject.toml -r src
- name: Secret scan
run: git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
- name: Unit tests
run: PYTHONPATH=src python -m unittest discover -s tests
- name: Compile Python files
run: python -m compileall -q src tests