Skip to content

feat: PyGaborSTM v1.0 - STM implementation with validation #29

feat: PyGaborSTM v1.0 - STM implementation with validation

feat: PyGaborSTM v1.0 - STM implementation with validation #29

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: [main]
jobs:
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff
- name: Check formatting
run: ruff format --check .
- name: Check linting
run: ruff check .
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest tests/ -v -m "not gpu" --cov=pygaborstm --cov-report=term-missing
docs:
name: Docs build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install doc requirements
run: pip install -r docs/requirements.txt
- name: Build docs
run: mkdocs build --strict