summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-12-14 13:52:16 +0100
committerBadlop <badlop@process-one.net>2021-12-23 16:39:31 +0100
commitaa580b3f6efab3ae7c99b3d3f28d8b1cc0a6c15d (patch)
tree8f33d7e54deb26840638c85a651172c13e27281e /.github
parentClean actions steps, remove redundant ones (diff)
Only care about new-schema results when new-schema tests were ran
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c05c6f5c..6d6ef598 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -188,8 +188,9 @@ jobs:
TO ejabberd_test;"
sudo sed -i 's|new_schema, false|new_schema, true|g' test/suite.erl
- run: CT_BACKENDS=mysql,pgsql make test
+ id: ctnewschema
- name: Check results
- if: always()
+ if: always() && steps.ctnewschema.outcome != 'skipped'
run: |
[[ -d _build ]] && ln -s _build/test/logs/ logs \
|| ln dialyzer/error.log logs/dialyzer.log
@@ -198,7 +199,7 @@ jobs:
grep -q 'TEST COMPLETE,.* 0 failed' logs/suite.log
test $(find logs/ -empty -name error.log)
- name: View logs failures
- if: failure()
+ if: failure() && steps.ctnewschema.outcome != 'skipped'
run: |
cat logs/suite.log | awk \
'BEGIN{RS="\n=case";FS="\n"} /=result\s*failed/ {print "=case" $0}'