File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Integration tests
2+ on : [push, pull_request]
3+ jobs :
4+ integration :
5+ name : Integration tests
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v5
9+ - uses : actions/setup-go@v6
10+ with :
11+ go-version : stable
12+ # Install prosody's latest release from upstream
13+ - run : sudo wget https://prosody.im/downloads/repos/$(lsb_release -sc)/prosody.sources -O/etc/apt/sources.list.d/prosody.sources
14+ - run : sudo apt update
15+ - run : sudo apt install -y mercurial lua5.4
16+ - run : sudo update-alternatives --set lua-interpreter /usr/bin/lua5.4
17+ - run : sudo apt install -y prosody
18+ # Setup prosody community modules
19+ - run : hg clone https://hg.prosody.im/prosody-modules/ prosody-modules
20+ # Copy mod_auth_any to global prosody modules
21+ - run : sudo cp -R prosody-modules/mod_auth_any /usr/lib/prosody/modules/
22+ # Only one test is run for now
23+ - run : ./tests/test.sh xmpp outgoing-message
24+ # Upload logs when it failed
25+ - run : cat tests/xmpp/setup.log
26+ if : ${{ failure() }}
27+ - run : cat tests/xmpp/matterbridge.log
28+ if : ${{ failure() }}
29+ - run : cat tests/xmpp/xmpp.log
30+ if : ${{ failure() }}
31+ - run : cat tests/xmpp/api.log
32+ if : ${{ failure() }}
You can’t perform that action at this time.
0 commit comments