Skip to content

🛠️ Add pyright (#409) #4

🛠️ Add pyright (#409)

🛠️ Add pyright (#409) #4

# This workflow installs the shapiq package and tests if it can be imported successfully.
# This test is intended to see if circular dependencies are handled correctly.
name: Install & Import shapiq
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
install-and-import:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv and Python
uses: astral-sh/setup-uv@v6
with:
python-version: "3.11"
activate-environment: true
- name: Install package using uv
run: uv pip install .
- name: Test import
run: uv run python -c "import shapiq; shapiq.benchmark.print_benchmark_configurations(); print('✅ shapiq imported successfully')"