diff --git a/platformio.ini b/platformio.ini
index 7075388a..b69dc087 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -60,6 +60,7 @@ build_flags = ${common.build_flags}
src_filter =
+<*.h> +<*.s> +<*.S> +<*.cpp> +<*.c> +<*.ino> +
-<.git/> - - -
+test_build_project_src = true
[env:release]
lib_deps =
@@ -71,7 +72,3 @@ build_type = debug
lib_deps =
TMCStepper@>=0.7.0,<1.0.0
ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.2.0
-
-[env:test]
-build_type = debug
-test_build_project_src = true