Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#95: Improve CI rendering tests #96

Merged
merged 48 commits into from
Sep 4, 2024
Merged

Conversation

tlamonthezie
Copy link
Contributor

@tlamonthezie tlamonthezie commented Jul 31, 2024

Fixes #95

CI improvements in continuation to issue #32 PR #85 in particular for rendering tests (VTP and PNG).

This PR provides

  • Better image and mesh testing: set object_jitter value to 0.0 for test configurations to disable randomness in point placement. Then the rendering tests can be efficient to test output files against expected (*.vtp|*.png)
  • Improve testing code quality and output
  • Move datasets from {project_dir}/tests/data datasets to {project_dir}/data
  • Fix tests badge url in README.md
  • Add XVBF usage as an option of build.sh for running tests

@tlamonthezie tlamonthezie self-assigned this Jul 31, 2024
@tlamonthezie tlamonthezie force-pushed the 95-improve-ci-rendering-tests branch from 576230f to 7a39b0c Compare August 26, 2024 12:06
@tlamonthezie tlamonthezie marked this pull request as ready for review August 27, 2024 13:11
.github/workflows/build-and-test.yml Outdated Show resolved Hide resolved
build.sh Outdated Show resolved Hide resolved
ci/build.sh Outdated Show resolved Hide resolved
src/vt-tv/render/render.h Outdated Show resolved Hide resolved
tests/unit/render/test_parse_render.cc Outdated Show resolved Hide resolved
tests/unit/render/test_render.cc Outdated Show resolved Hide resolved
@tlamonthezie tlamonthezie force-pushed the 95-improve-ci-rendering-tests branch from 3299df3 to f6be209 Compare August 27, 2024 18:16
@tlamonthezie tlamonthezie marked this pull request as draft August 27, 2024 18:17
@tlamonthezie tlamonthezie force-pushed the 95-improve-ci-rendering-tests branch 2 times, most recently from 2f9dac3 to a98964b Compare August 27, 2024 18:28
@tlamonthezie tlamonthezie marked this pull request as ready for review August 27, 2024 18:30
@tlamonthezie tlamonthezie force-pushed the 95-improve-ci-rendering-tests branch from a98964b to 09efa62 Compare August 27, 2024 18:31
@tlamonthezie tlamonthezie requested a review from cwschilly August 28, 2024 10:19
tests/unit/deps/test_vtk.cc Outdated Show resolved Hide resolved
@tlamonthezie tlamonthezie requested a review from cwschilly August 29, 2024 12:18
Copy link
Contributor

@cwschilly cwschilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tlamonthezie tlamonthezie merged commit bb91fb3 into master Sep 4, 2024
8 checks passed
@cwschilly cwschilly deleted the 95-improve-ci-rendering-tests branch September 4, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve CI rendering tests
2 participants