Просмотр исходного кода

GH actions CI run all when change tfb, tfb dockerfile or toolset/github_actions (#8039)

* Run CI test when change tfb or tfb dockerfile

* CI run all if change github_actions

* Testing tfb change

* Testing tfb Dockerfile change

* Revert testing changes
And change comment

* Add dir .github/workflows
Joan Miquel 2 лет назад
Родитель
Сommit
fbd1e97e1b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      toolset/github_actions/github_actions_diff.py

+ 2 - 2
toolset/github_actions/github_actions_diff.py

@@ -156,8 +156,8 @@ if re.search(r'\[ci lang .+\]', last_commit_msg, re.M):
                 run_tests.append(test)
 
 
-# Ignore travis, github_actions, continuous and scaffolding changes
-if re.search(r'^toolset\/(?!(travis\/|github_actions\/|continuous\/|scaffolding\/))', changes, re.M) is not None:
+# Ignore travis, continuous and scaffolding changes
+if re.search(r'^toolset\/(?!(travis\/|continuous\/|scaffolding\/))|^tfb|^Dockerfile|^.github\/workflows\/', changes, re.M) is not None:
     print("Found changes to core toolset. Running all tests.")
     run_tests = test_dirs
     quit_diffing()