Skip to content

feat(main): add metisignore option (#105) #275

feat(main): add metisignore option (#105)

feat(main): add metisignore option (#105) #275

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: read-all
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
- name: Create virtual environment
run: uv venv
- name: Install test dependencies
run: uv pip install '.[test]'
- name: Run tests
run: uv run pytest
- name: Run pre-commit checks
run: |
uv pip install pre-commit
uv run pre-commit run --all-files --show-diff-on-failure
- name: Run Bandit
run: |
uv pip install bandit
uv run bandit -r . -x "./.venv/*","./tests" --severity-level medium