ソースを参照

Remove simplified test file creation from workflow

Anatoli Arkhipenko 4 ヶ月 前
コミット
19adbbab31
1 ファイル変更0 行追加45 行削除
  1. 0 45
      .github/workflows/test.yml

+ 0 - 45
.github/workflows/test.yml

@@ -102,51 +102,6 @@ jobs:
           add_test(NAME TaskSchedulerUnitTests COMMAND taskscheduler_tests)
           EOF
           
-      - name: Create simplified test file
-        run: |
-          mkdir -p tests
-          cat > tests/simple_test.cpp << 'EOF'
-          #include <gtest/gtest.h>
-          #include <chrono>
-          #include <thread>
-
-          // Mock Arduino functions
-          unsigned long millis() {
-              static auto start = std::chrono::steady_clock::now();
-              auto now = std::chrono::steady_clock::now();
-              return std::chrono::duration_cast<std::chrono::milliseconds>(now - start).count();
-          }
-
-          void delay(unsigned long ms) {
-              std::this_thread::sleep_for(std::chrono::milliseconds(ms));
-          }
-
-          void yield() {
-              std::this_thread::yield();
-          }
-
-          // Include TaskScheduler
-          #include "TaskScheduler.h"
-
-          // Simple test that just verifies compilation
-          TEST(TaskSchedulerTest, BasicCompilation) {
-              Scheduler ts;
-              EXPECT_TRUE(true);
-          }
-
-          TEST(TaskSchedulerTest, SchedulerExecution) {
-              Scheduler ts;
-              
-              // Run scheduler a few times - should not crash
-              for (int i = 0; i < 10; i++) {
-                  ts.execute();
-                  delay(1);
-              }
-              
-              EXPECT_TRUE(true);
-          }
-          EOF
-          
       - name: Build tests
         run: |
           cmake .