-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[CI] Run unit tests on desktop release templates #93780
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,8 @@ | |
|
||
#include "test_main.h" | ||
|
||
#include "modules/modules_enabled.gen.h" | ||
|
||
#ifdef TOOLS_ENABLED | ||
#include "editor/editor_paths.h" | ||
#include "editor/editor_settings.h" | ||
|
@@ -103,8 +105,6 @@ | |
#include "tests/scene/test_audio_stream_wav.h" | ||
#include "tests/scene/test_bit_map.h" | ||
#include "tests/scene/test_camera_2d.h" | ||
#include "tests/scene/test_code_edit.h" | ||
#include "tests/scene/test_color_picker.h" | ||
#include "tests/scene/test_control.h" | ||
#include "tests/scene/test_curve.h" | ||
#include "tests/scene/test_curve_2d.h" | ||
|
@@ -118,7 +118,6 @@ | |
#include "tests/scene/test_packed_scene.h" | ||
#include "tests/scene/test_path_2d.h" | ||
#include "tests/scene/test_sprite_frames.h" | ||
#include "tests/scene/test_text_edit.h" | ||
#include "tests/scene/test_theme.h" | ||
#include "tests/scene/test_timer.h" | ||
#include "tests/scene/test_viewport.h" | ||
|
@@ -128,19 +127,29 @@ | |
#include "tests/servers/test_text_server.h" | ||
#include "tests/test_validate_testing.h" | ||
|
||
#ifndef ADVANCED_GUI_DISABLED | ||
#include "tests/scene/test_code_edit.h" | ||
#include "tests/scene/test_color_picker.h" | ||
#include "tests/scene/test_graph_node.h" | ||
#include "tests/scene/test_text_edit.h" | ||
#endif // ADVANCED_GUI_DISABLED | ||
|
||
#ifndef _3D_DISABLED | ||
#include "tests/scene/test_arraymesh.h" | ||
#include "tests/scene/test_camera_3d.h" | ||
#ifdef MODULE_NAVIGATION_ENABLED | ||
#include "tests/scene/test_navigation_agent_2d.h" | ||
#include "tests/scene/test_navigation_agent_3d.h" | ||
#include "tests/scene/test_navigation_obstacle_2d.h" | ||
#include "tests/scene/test_navigation_obstacle_3d.h" | ||
#include "tests/scene/test_navigation_region_2d.h" | ||
#include "tests/scene/test_navigation_region_3d.h" | ||
#include "tests/scene/test_path_3d.h" | ||
#include "tests/scene/test_primitives.h" | ||
#include "tests/servers/test_navigation_server_2d.h" | ||
#include "tests/servers/test_navigation_server_3d.h" | ||
#endif // MODULE_NAVIGATION_ENABLED | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some of the nav tests could be run without the module theoretically to confirm default values, and that could be a future improvement to put some of the test code in those files in their own |
||
|
||
#include "tests/scene/test_arraymesh.h" | ||
#include "tests/scene/test_camera_3d.h" | ||
#include "tests/scene/test_path_3d.h" | ||
#include "tests/scene/test_primitives.h" | ||
#endif // _3D_DISABLED | ||
|
||
#include "modules/modules_tests.gen.h" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't expect tests to be run on web (I don't even know how to do that) but the dedicated test is because web has its own http client, so just made this change for completeness