Skip to content

Commit

Permalink
ci: Update run_tests.yml
Browse files Browse the repository at this point in the history
Add the steps for setting up pytest and pytest-blender and running the tests inside of the "tests" directory
  • Loading branch information
BlenderDefender committed Nov 10, 2024
1 parent 77a92e0 commit 04ff3f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ jobs:
with:
blender-version: "4.2"
- run: blender --version
- run: python -m pip install --upgrade pip
- run: |
pip install pytest-blender
python_blender_executable="$(pytest-blender --blender-executable $blender_executable)"
$python_blender_executable -m ensurepip
$python_blender_executable -m pip install pytest
pytest --blender-executable $python_blender_executable tests/

0 comments on commit 04ff3f7

Please sign in to comment.