Skip to content

Commit

Permalink
Integrate rat-check properly into GitHub PR apparatus
Browse files Browse the repository at this point in the history
  • Loading branch information
pdxcodemonkey authored and jake-at-work committed Feb 3, 2021
1 parent 5da0480 commit 47699f8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ci/pr/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
#@overlay/append
- #@ pr_status("clang-format", "pending")
- #@ pr_status("clang-tidy", "pending")
- #@ pr_status("rat-check", "pending")
#@overlay/match by=overlay.index(1)
- in_parallel:
steps:
Expand Down Expand Up @@ -156,3 +157,24 @@ jobs:
steps:
#@overlay/append
- #@ pr_status("clang-format", "success")
- #@overlay/match by=overlay.subset({"task": "rat-check"})
on_error:
in_parallel:
steps:
#@overlay/append
- #@ pr_status("rat-check", "error")
on_abort:
in_parallel:
steps:
#@overlay/appendxs
- #@ pr_status("rat-check", "error", "Build canceled")
on_failure:
in_parallel:
steps:
#@overlay/append
- #@ pr_status("rat-check", "failure")
on_success:
in_parallel:
steps:
#@overlay/append
- #@ pr_status("rat-check", "success")

0 comments on commit 47699f8

Please sign in to comment.