diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-08-14 17:42:22 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-08-14 17:42:22 +0300 |
commit | 8b70d1b89e3ab700c04d03d3f6de77d1d2c69b9e (patch) | |
tree | c7c48842714d0bf091d007321879752b4d82048f /cmake | |
parent | 01aa7295772012af439de71793477f4834ec65df (diff) |
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
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CuraTests.cmake | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cmake/CuraTests.cmake b/cmake/CuraTests.cmake index 251bec5781..ad435321c9 100644 --- a/cmake/CuraTests.cmake +++ b/cmake/CuraTests.cmake @@ -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" |