hathach 3 yıl önce
ebeveyn
işleme
34081f6c5c
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      .github/workflows/pre-commit.yml

+ 3 - 2
.github/workflows/pre-commit.yml

@@ -1,8 +1,9 @@
 name: pre-commit
 name: pre-commit
 
 
 on:
 on:
-  pull_request:
   push:
   push:
+  pull_request:
+    branches: [ master ]
 
 
 concurrency:
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -32,5 +33,5 @@ jobs:
       run: |
       run: |
         # Install Ceedling
         # Install Ceedling
         gem install ceedling
         gem install ceedling
-        cd test
+        cd test/unit-test
         ceedling test:all
         ceedling test:all