Skip to content

chore: add cloudsmith configs and release_assets to gitignore #29

chore: add cloudsmith configs and release_assets to gitignore

chore: add cloudsmith configs and release_assets to gitignore #29

Workflow file for this run

name: Main CI
on:
push:
branches: ["main", "master"]
pull_request:
branches: ["main", "master"]
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
name: Lint & Security Compliance
runs-on: ubuntu-latest
env:
PIP_NO_CACHE_DIR: "1"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install customtkinter Pillow numpy scipy matplotlib reportlab cffi cryptography ruff bandit pip-audit mypy pytest pytest-cov
- name: Zero-egress security compliance scan
run: python cli.py compliance
- name: Executive Proof Suite Verification
run: python test_qector_decoder_v3_proofs.py
- name: Ruff lint (informational)
continue-on-error: true
run: ruff check .
- name: Bandit security scan (informational)
continue-on-error: true
run: bandit -q -r . -x ./build,./dist,./tests -ll
test:
name: pytest on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
os: [ubuntu-latest, windows-latest]
env:
PIP_NO_CACHE_DIR: "1"
MPLBACKEND: Agg
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y python3-tk xvfb libgl1-mesa-glx libegl1-mesa
- name: Install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install customtkinter Pillow numpy scipy matplotlib reportlab cffi cryptography pytest pytest-cov
- name: Run pytest with coverage (Linux)
if: runner.os == 'Linux'
run: xvfb-run -a python -m pytest -q --cov=. --cov-report=xml
- name: Run pytest with coverage (Windows)
if: runner.os == 'Windows'
run: python -m pytest -q --cov=. --cov-report=xml
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}
path: coverage.xml