mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 20:05:15 +08:00
Move codestyle to the begining of the tests
Since it's one of the more expensive tests, it might actually knock off a few seconds
This commit is contained in:
parent
01aa729577
commit
8b70d1b89e
@ -56,6 +56,14 @@ function(cura_add_test)
|
|||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
#Add code style test.
|
||||||
|
add_test(
|
||||||
|
NAME "code-style"
|
||||||
|
COMMAND ${Python3_EXECUTABLE} run_mypy.py
|
||||||
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
#Add test for import statements which are not compatible with all builds
|
#Add test for import statements which are not compatible with all builds
|
||||||
add_test(
|
add_test(
|
||||||
NAME "invalid-imports"
|
NAME "invalid-imports"
|
||||||
@ -74,13 +82,6 @@ foreach(_plugin ${_plugins})
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
#Add code style test.
|
|
||||||
add_test(
|
|
||||||
NAME "code-style"
|
|
||||||
COMMAND ${Python3_EXECUTABLE} run_mypy.py
|
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
|
||||||
)
|
|
||||||
|
|
||||||
#Add test for whether the shortcut alt-keys are unique in every translation.
|
#Add test for whether the shortcut alt-keys are unique in every translation.
|
||||||
add_test(
|
add_test(
|
||||||
NAME "shortcut-keys"
|
NAME "shortcut-keys"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user