tkeskita / BVtkNodes

Create and execute VTK pipelines in Blender Node Editor
GNU General Public License v3.0
119 stars 20 forks source link

Continuous Integration #61

Closed thomgrand closed 3 years ago

thomgrand commented 3 years ago

Summary

This PR introduces continuous integration to automatically run the tests mentioned in PR #57. It uses github workflows for this purpose. The workflow runs the tests on the latest version of ubuntu, VTK 9.0.1 and Blender 2.83. If the officially supported versions change, the workflow should be adapted. All future pull requests and commits to the master should be from now on automatically checked by this runner.

How it works

The runner will first pack the library into a zip and then download blender 2.83 for ubuntu over a mirror. All necessary packages in blender's python are then installed and the addon is placed inside blender's addon folder. The tests are initiated with the --addons BVtkNodes CLI argument to ensure that the addon is activated.

tkeskita commented 3 years ago

@thomgrand thanks for PR! CI sound very useful, but I don't know it yet. Could you please add comments to the yml file to indicate it is for github CI workflow, and add there also a link to a web page which describes how github CI workflow works, thanks! I'd prefer to merge this to master after #46, OK?

thomgrand commented 3 years ago

I'd prefer to merge this to master after #46, OK?

Sure, I'll try to comment the yml file this week.

tkeskita commented 3 years ago

Seems to be working already from first setup, thanks!