diff --git a/.github/workflows/fake-bpy-module-ci.yml b/.github/workflows/fake-bpy-module-ci.yml index 5fc40d4b0..fdf057dee 100644 --- a/.github/workflows/fake-bpy-module-ci.yml +++ b/.github/workflows/fake-bpy-module-ci.yml @@ -130,7 +130,7 @@ jobs: # For example: 00:29:45 UTC will create a file version # "...dev2945-py3-none..." and not use {{ module_version }} # "...dev002945-py3-none..." - run: bash tests/pylint_cycles.sh ${{ matrix.blender_version }} ./blender/ ./release/${{ matrix.blender_version }}/fake_bpy_module_${{ matrix.blender_version }}-*-py3-none-any.whl + run: bash tests/pylint_cycles.sh blender ${{ matrix.blender_version }} ./blender/ ./release/${{ matrix.blender_version }}/fake_bpy_module_${{ matrix.blender_version }}-*-py3-none-any.whl - name: Collect failure state if: failure() diff --git a/.github/workflows/fake-bpy-module-latest-build.yml b/.github/workflows/fake-bpy-module-latest-build.yml index 8a7344bfd..cc9788d00 100644 --- a/.github/workflows/fake-bpy-module-latest-build.yml +++ b/.github/workflows/fake-bpy-module-latest-build.yml @@ -97,7 +97,7 @@ jobs: run: bash tests/run_tests.sh raw_modules - name: Test generated pip module against Cycles addon - run: bash tests/pylint_cycles.sh latest ./blender/ ./release/latest/fake_bpy_module_latest-*-py3-none-any.whl + run: bash tests/pylint_cycles.sh blender latest ./blender/ ./release/latest/fake_bpy_module_latest-*-py3-none-any.whl - name: Collect failure state if: failure() diff --git a/tests/pylint_cycles.sh b/tests/pylint_cycles.sh index b9de24d4b..8bd4f8678 100755 --- a/tests/pylint_cycles.sh +++ b/tests/pylint_cycles.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -eEu -if [ $# -ne 3 ]; then +if [ $# -ne 4 ]; then echo "Usage: pylint_test.sh " exit 1 fi