Skip to content

Commit

Permalink
Fix: Add-on test is disabled for Blender 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Jul 21, 2024
1 parent 6b0bfed commit e671eb1
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
build:
name: Test add-on
runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# blender_version:
# [
# "4.2",
# ]
strategy:
fail-fast: false
matrix:
blender_version:
[
"4.2",
]
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand All @@ -43,13 +43,13 @@ jobs:
- name: Get required pip packages
run: pip3 install -r requirements.txt

# - name: Download Blender
# run: bash tools/download_blender.sh ${{ matrix.blender_version }} blender-bin
- name: Download Blender
run: bash tools/download_blender.sh ${{ matrix.blender_version }} blender-bin

# - name: Copy add-on to Blender add-on's directory
# run: cp -r src/screencast_keys blender-bin/blender-v${{ matrix.blender_version }}-bin/${{ matrix.blender_version }}/scripts/addons
- name: Copy add-on to Blender add-on's directory
run: cp -r src/screencast_keys blender-bin/blender-v${{ matrix.blender_version }}-bin/${{ matrix.blender_version }}/scripts/addons

# - name: Run add-on unittest
# run: blender-bin/blender-v${{ matrix.blender_version }}-bin/blender --factory-startup --background -noaudio --python tests/python/run_tests.py
# env:
# SK_CONSOLE_MODE: true
- name: Run add-on unittest
run: blender-bin/blender-v${{ matrix.blender_version }}-bin/blender --factory-startup --background -noaudio --python tests/python/run_tests.py
env:
SK_CONSOLE_MODE: true

0 comments on commit e671eb1

Please sign in to comment.