Skip to content

adds AgnosticExplainer and refactors explanation/approximation code #845

adds AgnosticExplainer and refactors explanation/approximation code

adds AgnosticExplainer and refactors explanation/approximation code #845

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: unit-tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} and uv
id: setup-uv-python
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: |
**/pyproject.toml
**/uv.lock
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Test with pytest
run: uv run pytest -n logical