Update "Commiting Test Data" section to include build bot testing #77

Merged
Alaska merged 8 commits from Alaska/blender-developer-docs:test-updates-guide into main 2024-10-07 14:56:31 +02:00
Showing only changes of commit ed1cef045a - Show all commits

View File

@ -166,14 +166,28 @@ git push me add-x-tests-blender
Ensure your tests pass on the build bot commenting `@blender-bot build`, Ensure your tests pass on the build bot commenting `@blender-bot build`,
or `@blender-bot build +gpu` to also run GPU tests (these aren't tested or `@blender-bot build +gpu` to also run GPU tests (these aren't tested
regularly, so some GPU tests you havn't modified may fail), in your pull request. regularly, so some GPU tests you havn't modified may fail), in your
pull request.
If the tests pass, then push your changes in the test data repo to the If the tests pass, then you can push your changes in the test data
main branch, update your branch of the Blender repo to point to the updated tests, repository to the main branch.
then push your Blender chages to the main branch of the Blender repo.
``` bash ``` bash
TODO: Add commands? cd tests/data
I personally haven't done merging/squishing of branches into main so I'm not sure the correct approach here. git checkout main
git merge --ff-only add-x-tests
git push origin main
```
Preferably straight after pushing the updated tests, update
your branch of the Blender repository to point to the updated tests,
and push your Blender changes to the main branch of the Blender repo.
``` bash
cd ../..
git commit tests/data
git checkout main
git merge --ff-only add-x-tests-blender
git push origin main
``` ```