mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Runtime: Mix: Enable ModPresenceDemo and Elixir dep
This commit is contained in:
parent
7186cd09bf
commit
c0a909296e
10
.github/workflows/runtime.yml
vendored
10
.github/workflows/runtime.yml
vendored
@ -197,6 +197,13 @@ jobs:
|
|||||||
echo "::remove-matcher owner=elixir-mixTestFailure::"
|
echo "::remove-matcher owner=elixir-mixTestFailure::"
|
||||||
echo "::remove-matcher owner=elixir-dialyzerOutputDefault::"
|
echo "::remove-matcher owner=elixir-dialyzerOutputDefault::"
|
||||||
|
|
||||||
|
- name: Enable ModPresenceDemo and an Elixir dependency
|
||||||
|
run: |
|
||||||
|
sed -i "s|^modules:|modules:\n 'ModPresenceDemo': {}|g" ejabberd.yml.example
|
||||||
|
cat ejabberd.yml.example
|
||||||
|
sed -i 's|^{deps, \(.*\)|{deps, \1\n {decimal, ".*", {git, "https://github.com/ericmj/decimal", {branch, "main"}}}, |g' rebar.config
|
||||||
|
cat rebar.config
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -259,12 +266,15 @@ jobs:
|
|||||||
grep -q '^user3$' registered.log
|
grep -q '^user3$' registered.log
|
||||||
grep -q 'is started' _build/prod/rel/ejabberd/logs/ejabberd.log
|
grep -q 'is started' _build/prod/rel/ejabberd/logs/ejabberd.log
|
||||||
grep -q 'is stopped' _build/prod/rel/ejabberd/logs/ejabberd.log
|
grep -q 'is stopped' _build/prod/rel/ejabberd/logs/ejabberd.log
|
||||||
|
grep -q 'module Presence Demo' _build/prod/rel/ejabberd/logs/ejabberd.log
|
||||||
test $(find _build/prod/ -empty -name error.log)
|
test $(find _build/prod/ -empty -name error.log)
|
||||||
grep -q 'is started' _build/dev/rel/ejabberd/logs/ejabberd.log
|
grep -q 'is started' _build/dev/rel/ejabberd/logs/ejabberd.log
|
||||||
grep -q 'is stopped' _build/dev/rel/ejabberd/logs/ejabberd.log
|
grep -q 'is stopped' _build/dev/rel/ejabberd/logs/ejabberd.log
|
||||||
|
grep -q 'module Presence Demo' _build/dev/rel/ejabberd/logs/ejabberd.log
|
||||||
test $(find _build/dev/ -empty -name error.log)
|
test $(find _build/dev/ -empty -name error.log)
|
||||||
grep -q 'is started' /tmp/ejabberd/var/log/ejabberd/ejabberd.log
|
grep -q 'is started' /tmp/ejabberd/var/log/ejabberd/ejabberd.log
|
||||||
grep -q 'is stopped' /tmp/ejabberd/var/log/ejabberd/ejabberd.log
|
grep -q 'is stopped' /tmp/ejabberd/var/log/ejabberd/ejabberd.log
|
||||||
|
grep -q 'module Presence Demo' /tmp/ejabberd/var/log/ejabberd/ejabberd.log
|
||||||
test $(find /tmp/ejabberd/var/log/ejabberd/ -empty -name error.log)
|
test $(find /tmp/ejabberd/var/log/ejabberd/ -empty -name error.log)
|
||||||
|
|
||||||
- name: View logs failures
|
- name: View logs failures
|
||||||
|
Loading…
Reference in New Issue
Block a user