This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Chore: bump version 0.4.2 → 0.5.0 #314
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 file is part of the jebel-quant/rhiza repository | |
| # (https://github.com/jebel-quant/rhiza). | |
| # | |
| # Workflow: Continuous Integration | |
| # | |
| # Purpose: Run tests on multiple Python versions to ensure compatibility. | |
| # | |
| # Trigger: On push and pull requests to main/master branches. | |
| name: (RHIZA) CI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| generate-matrix: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| matrix: ${{ steps.versions.outputs.list }} | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| with: | |
| lfs: true | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7.3.1 | |
| with: | |
| version: "0.10.8" | |
| - id: versions | |
| env: | |
| UV_EXTRA_INDEX_URL: ${{ secrets.UV_EXTRA_INDEX_URL }} | |
| run: | | |
| # Generate Python versions JSON from the script | |
| JSON=$(make -f .rhiza/rhiza.mk -s version-matrix) | |
| echo "list=$JSON" >> "$GITHUB_OUTPUT" | |
| - name: Debug matrix | |
| run: | | |
| echo "Python versions: ${{ steps.versions.outputs.list }}" | |
| test: | |
| needs: generate-matrix | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ${{ fromJson(needs.generate-matrix.outputs.matrix) }} | |
| fail-fast: false | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| lfs: true | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7.3.1 | |
| with: | |
| version: "0.10.8" | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run tests | |
| env: | |
| UV_EXTRA_INDEX_URL: ${{ secrets.UV_EXTRA_INDEX_URL }} | |
| run: | | |
| make test |