Remove zeros from interaction lookup, check in test (#424) #2
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 will run the shapiq tests on macOS using the latest python version. | |
| name: tests-shapiq-macos | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| unit_tests: | |
| name: Run unit tests | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python and uv | |
| id: setup-uv-python | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Reinstall Python | |
| run: | | |
| uv python install --reinstall | |
| uv run python --version | |
| - name: Install dependencies | |
| run: uv sync --all-extras --dev | |
| # we run macos tests in a single process (no use of xdist, because of issues with xgboost and | |
| # lightgbm fitting slowly with libomp on macos in parallel) | |
| - name: Test with pytest | |
| run: uv run pytest "tests/shapiq" |