Woodpecker CI: Make xref use fail stamp
This commit is contained in:
parent
56a25202b9
commit
b0de9bd3cd
1 changed files with 4 additions and 1 deletions
|
|
@ -37,7 +37,10 @@ steps:
|
||||||
image: *elixir-image
|
image: *elixir-image
|
||||||
failure: ignore
|
failure: ignore
|
||||||
commands:
|
commands:
|
||||||
- mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}'
|
- |
|
||||||
|
if [ ! mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}' && -f fail.stamp ]; then
|
||||||
|
touch fail.stamp
|
||||||
|
fi
|
||||||
|
|
||||||
ensure-status:
|
ensure-status:
|
||||||
image: *elixir-image
|
image: *elixir-image
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue