Skip to content

Commit 1771d7a

Browse files
committed
✅ Skip change alerts in CI test
1 parent 68f7478 commit 1771d7a

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.editorconfig

+8-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,20 @@ root = true
44
[{*.patch,syntax_test_*}]
55
trim_trailing_whitespace = false
66

7-
[{*.c,*.cpp,*.h,*.ino}]
8-
charset = utf-8
9-
10-
[{*.c,*.cpp,*.h,*.ino,Makefile}]
7+
[{*.c,*.cpp,*.h,*.ino,*.py,Makefile}]
118
trim_trailing_whitespace = true
129
insert_final_newline = true
1310
end_of_line = lf
11+
12+
[{*.c,*.cpp,*.h,*.ino}]
13+
charset = utf-8
1414
indent_style = space
1515
indent_size = 2
1616

17+
[{Makefile}]
18+
indent_style = tab
19+
indent_size = 2
20+
1721
[{*.py}]
1822
indent_style = space
1923
indent_size = 4

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ help:
2727

2828
tests-single-ci:
2929
export GIT_RESET_HARD=true
30-
$(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET)
30+
$(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET) PLATFORMIO_BUILD_FLAGS=-DGITHUB_ACTION
3131
.PHONY: tests-single-ci
3232

3333
tests-single-local:

Marlin/src/inc/Changes.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
/**
3131
* Warnings for old configurations
3232
*/
33-
#if WATCH_TEMP_PERIOD > 500
33+
#ifdef GITHUB_ACTION
34+
// Skip change alerts during CI Test
35+
#elif WATCH_TEMP_PERIOD > 500
3436
#error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."
3537
#elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
3638
#error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS."

0 commit comments

Comments
 (0)