Skip to content

Commit

Permalink
[98] Check pull_request event to launch TU on CI
Browse files Browse the repository at this point in the history
Add a trigger for launch TU when event is  "pull_request".

Bug: cea-hpc#98
Signed-off-by: Vincent Blain <vincent.blain@obeosoft.com>
  • Loading branch information
vblainobeo committed Oct 14, 2022
1 parent 9748989 commit bd0f6e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class TestUtils
val event = System.getenv("GITHUB_EVENT_NAME") //$NON-NLS-1$
//System.out.println(event)

return System.getenv("CI") !== null && event.equals("push") //$NON-NLS-1$ //$NON-NLS-2$
return System.getenv("CI") !== null && (event.equals("push") || event.equals("pull_request")) //$NON-NLS-1$ //$NON-NLS-2$
}

def getAllAffectations(EObject it)
Expand Down

0 comments on commit bd0f6e1

Please sign in to comment.