🛠️ Add pyright (#409) #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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')" |