Skip to content

Commit

Permalink
GH actions CI run all when change tfb, tfb dockerfile or toolset/gith…
Browse files Browse the repository at this point in the history
…ub_actions (TechEmpower#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
  • Loading branch information
joanhey authored and franz1981 committed Jun 23, 2023
1 parent 814cdaf commit 25029e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolset/github_actions/github_actions_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def get_frameworks(test_lang):
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()
Expand Down

0 comments on commit 25029e4

Please sign in to comment.