mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Check results when test with any OTP is not skipped
This commit is contained in:
parent
f19219f5a0
commit
4c51f6e1fe
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -170,11 +170,12 @@ jobs:
|
|||||||
cat $RE/var/log/ejabberd/ejabberd.log
|
cat $RE/var/log/ejabberd/ejabberd.log
|
||||||
grep -q "is stopped in" $RE/var/log/ejabberd/ejabberd.log
|
grep -q "is stopped in" $RE/var/log/ejabberd/ejabberd.log
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests (OTP 19.3)
|
||||||
if: matrix.otp != 24
|
if: matrix.otp == '19.3'
|
||||||
|
id: ct2
|
||||||
run: make test
|
run: make test
|
||||||
- name: Run tests (OTP 24)
|
- name: Run tests
|
||||||
if: matrix.otp == 24
|
if: matrix.otp != '19.3'
|
||||||
id: ct
|
id: ct
|
||||||
run: |
|
run: |
|
||||||
(cd priv && ln -sf ../sql)
|
(cd priv && ln -sf ../sql)
|
||||||
@ -187,7 +188,7 @@ jobs:
|
|||||||
rebar3 cover
|
rebar3 cover
|
||||||
|
|
||||||
- name: Check results
|
- name: Check results
|
||||||
if: always() && steps.ct.outcome != 'skipped'
|
if: always() && (steps.ct.outcome != 'skipped' || steps.ct2.outcome != 'skipped')
|
||||||
id: ctresults
|
id: ctresults
|
||||||
run: |
|
run: |
|
||||||
[[ -d _build ]] && ln -s _build/test/logs/last/ logs || true
|
[[ -d _build ]] && ln -s _build/test/logs/last/ logs || true
|
||||||
|
Loading…
Reference in New Issue
Block a user