Skip to content

Commit

Permalink
Check results when test with any OTP is not skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Apr 1, 2022
1 parent f19219f commit 4c51f6e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,12 @@ jobs:
cat $RE/var/log/ejabberd/ejabberd.log
grep -q "is stopped in" $RE/var/log/ejabberd/ejabberd.log
- name: Run tests
if: matrix.otp != 24
- name: Run tests (OTP 19.3)
if: matrix.otp == '19.3'
id: ct2
run: make test
- name: Run tests (OTP 24)
if: matrix.otp == 24
- name: Run tests
if: matrix.otp != '19.3'
id: ct
run: |
(cd priv && ln -sf ../sql)
Expand All @@ -187,7 +188,7 @@ jobs:
rebar3 cover
- name: Check results
if: always() && steps.ct.outcome != 'skipped'
if: always() && (steps.ct.outcome != 'skipped' || steps.ct2.outcome != 'skipped')
id: ctresults
run: |
[[ -d _build ]] && ln -s _build/test/logs/last/ logs || true
Expand Down

0 comments on commit 4c51f6e

Please sign in to comment.