Make ss config attribute assignment raise instead of silently no-op #1715
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
| name: Test imports | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| rngs: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| os: ${{ steps.os.outputs.selected }} | |
| pyver: ${{ steps.pyver.outputs.selected }} | |
| steps: | |
| # Plain bash instead of a marketplace action; see the note on the rngs job in | |
| # test_and_build.yml. To weight a choice, repeat it; to skip one, remove it. | |
| - name: RNG for os | |
| id: os | |
| run: | | |
| choices=(ubuntu-latest macos-latest windows-latest) | |
| selected=${choices[$((RANDOM % ${#choices[@]}))]} | |
| echo "selected: $selected (from: ${choices[*]})" | |
| echo "selected=$selected" >> "$GITHUB_OUTPUT" | |
| - name: RNG for Python version | |
| id: pyver | |
| run: | | |
| choices=(3.11 3.12 3.13 3.14) | |
| selected=${choices[$((RANDOM % ${#choices[@]}))]} | |
| echo "selected: $selected (from: ${choices[*]})" | |
| echo "selected=$selected" >> "$GITHUB_OUTPUT" | |
| test_imports: | |
| needs: rngs | |
| runs-on: ${{ needs.rngs.outputs.os }} | |
| # runs-on: ${{ matrix.os }} | |
| # strategy: | |
| # matrix: | |
| # python-version: ["3.11", "3.12", "3.13", "3.14"] | |
| # os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ needs.rngs.outputs.pyver }} | |
| # python-version: ${{ matrix.python-version }} | |
| - run: python -m pip install --upgrade pip | |
| # - run: pip install --pre suitesparse-graphblas # Use if we need pre-release | |
| - run: pip install -e .[default] | |
| - name: Run test imports | |
| run: ./scripts/test_imports.sh |