refactor(core): address API design findings for ergonomics and stability #565
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: Blender Tests | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| blender-tests: | |
| name: Blender Compatibility Matrix (Blender ${{ matrix.blender-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - blender-version: '4.2.0' | |
| python-version: '3.11' | |
| - blender-version: '4.5.8' | |
| python-version: '3.11' | |
| - blender-version: '5.1.0' | |
| python-version: '3.13' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| cache-suffix: ${{ matrix.blender-version }} | |
| - name: Install dependencies | |
| run: | | |
| uv sync --all-groups --all-extras | |
| - name: Install just | |
| uses: taiki-e/install-action@just | |
| - name: Setup Blender | |
| uses: ./.github/actions/setup-blender | |
| with: | |
| version: ${{ matrix.blender-version }} | |
| python-version: ${{ matrix.python-version }} | |
| headless: 'true' | |
| - name: Run Blender Tests | |
| env: | |
| BLENDER_PATH: ${{ github.workspace }}/blender/blender | |
| run: xvfb-run just test-integration-blender |