diff options
author | Badlop <badlop@process-one.net> | 2022-02-10 23:52:32 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2022-02-24 01:02:44 +0100 |
commit | be0175fb70d25626a721f1d9a017b381fe3fc15f (patch) | |
tree | 6a4dea1353ab57db1f26df11906a7048758e5939 /.github | |
parent | The lager dependency is used only with old Erlang versions (diff) |
Only care about CT results when CT are ran, and check fails
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c332d03a5..facd36764 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,7 +184,8 @@ jobs: rebar3 cover - name: Check results - if: always() + if: always() && steps.ct.outcome != 'skipped' + id: ctresults run: | [[ -d _build ]] && ln -s _build/test/logs/last/ logs || true ln `find logs/ -name suite.log` logs/suite.log @@ -193,7 +194,7 @@ jobs: test $(find logs/ -empty -name error.log) - name: View logs failures - if: failure() + if: failure() && steps.ctresults.outcome == 'failure' run: | cat logs/suite.log | awk \ 'BEGIN{RS="\n=case";FS="\n"} /=result\s*failed/ {print "=case" $0}' |