0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-25 02:18:12 +00:00

Skip change alerts in CI test

This commit is contained in:
Scott Lahteine 2023-04-26 13:51:33 -05:00
parent 68f74784a3
commit 1771d7ab64
3 changed files with 12 additions and 6 deletions

View file

@ -4,16 +4,20 @@ root = true
[{*.patch,syntax_test_*}] [{*.patch,syntax_test_*}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[{*.c,*.cpp,*.h,*.ino}] [{*.c,*.cpp,*.h,*.ino,*.py,Makefile}]
charset = utf-8
[{*.c,*.cpp,*.h,*.ino,Makefile}]
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
end_of_line = lf end_of_line = lf
[{*.c,*.cpp,*.h,*.ino}]
charset = utf-8
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[{Makefile}]
indent_style = tab
indent_size = 2
[{*.py}] [{*.py}]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4

View file

@ -27,7 +27,7 @@ help:
tests-single-ci: tests-single-ci:
export GIT_RESET_HARD=true export GIT_RESET_HARD=true
$(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET) $(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET) PLATFORMIO_BUILD_FLAGS=-DGITHUB_ACTION
.PHONY: tests-single-ci .PHONY: tests-single-ci
tests-single-local: tests-single-local:

View file

@ -30,7 +30,9 @@
/** /**
* Warnings for old configurations * Warnings for old configurations
*/ */
#if WATCH_TEMP_PERIOD > 500 #ifdef GITHUB_ACTION
// Skip change alerts during CI Test
#elif WATCH_TEMP_PERIOD > 500
#error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds." #error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."
#elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD)) #elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
#error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS." #error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS."