Replies: 11 comments
-
This is awesome! We should definitely add some build tests to the Armory repository, or at least to the armsdk repo (if the tests are too slow and shouldn't run too often because of that). Examples and templates are probably one of the first things people new to Armory will see, and the first impression counts. If examples don't work, chances are high that people will go away again pretty fast so fixing the examples should have high priority. Also, we should maybe add some regression tests for some issues to make sure that the fixed bug remains fixed in future versions. A while ago I started to build a small local test system that built some example files from various issues and later tested the generated output file for some conditions (e.g. some objects shouldn't occur twice which was the case in the original issue). But I don't know if there are license restrictions on files uploaded in Github issues, so it should be better to create minimal examples. However this is quite some work. Build time stats would also be pretty cool to have, this would make it much easier to see if a certain commit made the build times slower. This would be a great step towards #870 (there is also #864 for unit tests). @tong It could be a good idea to add a link to the examples browser to the wiki :) @luboslenco Slightly offtopic regarding the linked issues above: there still exists the "2020" project on this repository which could potentially confuse a bit and might send the message that nobody is actively working on Armory. Should this be renamed to 2021? Should there be a new project/no project at all? There are a few issues in this project that probably aren't on this year's agenda for anyone involved in Armory development, so it might make sense to "replan" it a bit. Maybe you have some thoughts about it :) |
Beta Was this translation helpful? Give feedback.
-
@luboslenco May we transfer the armory_gh_actions repository to the armory3d organization ? |
Beta Was this translation helpful? Give feedback.
-
Happy to take it in, thanks! |
Beta Was this translation helpful? Give feedback.
-
I get: |
Beta Was this translation helpful? Give feedback.
-
@luboslenco Do you want to transfer the armory_examples_browser (repo) too? Personally i would like to have the features mentioned above too, but since my time is limited to work on this it might be a good idea to make visible what already exists (?). |
Beta Was this translation helpful? Give feedback.
-
Added a fork now, would be cool to publish it at armory3d.org as well. |
Beta Was this translation helpful? Give feedback.
-
@luboslenco Can you please activate gh-pages for the forked repo? |
Beta Was this translation helpful? Give feedback.
-
Thanks! Works: |
Beta Was this translation helpful? Give feedback.
-
It seems i don't have rights to publish armory_gh_actions to the marketplace, only have a Draft a release button. @luboslenco can you check if you can publish it. |
Beta Was this translation helpful? Give feedback.
-
I've created a small web application for browsing the armory_examples and armory_templates:
Since we can now build armory projects from the command line using blenders background mode, i've automated the example build process using a haxe script. … but also created a github actions package to be used in the examples/templates repositories themselves, building all projects and pushing the results of the html5 target to gh-pages.
The examples browser doesn't use the package for now, but has it's own config, since there are issues with the armory addon activation.
Anyhow, the intention for this is to automate the testing process of the armory project (and armory projects), make things break, measure build times, probably generate some fancy stats … ideas welcome!
Beta Was this translation helpful? Give feedback.
All reactions