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:
Jaime van Kessel 2020-08-14 16:42:22 +02:00
parent 01aa729577
commit 8b70d1b89e
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -56,6 +56,14 @@ function(cura_add_test)
endif()
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(
NAME "invalid-imports"
@ -74,13 +82,6 @@ foreach(_plugin ${_plugins})
endif()
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(
NAME "shortcut-keys"