summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2025-09-06 15:10:42 +0200
committerGitHub <noreply@github.com>2025-09-06 15:10:42 +0200
commit119af326494995eba42bbb47b79bca08ffb614b3 (patch)
treef5060b227bdd6010e5809f014e0a475db345e475 /.github
parentd3a6c09b3164d5ad0f05924bdad30f98416e6503 (diff)
feat(Scripts): Add health and console commands to service manager and corresponding tests (#22814)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dashboard-ci.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/dashboard-ci.yml b/.github/workflows/dashboard-ci.yml
index 8b22541fbd..5901d19447 100644
--- a/.github/workflows/dashboard-ci.yml
+++ b/.github/workflows/dashboard-ci.yml
@@ -95,6 +95,7 @@ jobs:
run: |
# This runs: install-deps, compile, database setup, client-data download
./acore.sh init
+ sudo npm install -g pm2
timeout-minutes: 120
- name: Test module removal
@@ -115,3 +116,30 @@ jobs:
cd env/dist/bin
timeout 5m ./worldserver -dry-run
continue-on-error: false
+
+
+ - name: Test worldserver with startup scripts
+ run: |
+ ./acore.sh sm create world worldserver --bin-path ./env/dist/bin --provider pm2
+ ./acore.sh sm show-config worldserver
+ ./acore.sh sm start worldserver
+ ./acore.sh sm wait-uptime worldserver 10 300
+ ./acore.sh sm send worldserver "account create tester password 3"
+ ./acore.sh sm send worldserver "account set gm tester 3"
+ ./acore.sh sm send worldserver "account set addon tester 1"
+ ./acore.sh sm wait-uptime worldserver 10 300
+ ./acore.sh sm stop worldserver
+ ./acore.sh sm delete worldserver
+ timeout-minutes: 30
+ continue-on-error: false
+
+ - name: Test authserver with startup scripts
+ run: |
+ ./acore.sh sm create auth authserver --bin-path ./env/dist/bin --provider pm2
+ ./acore.sh sm show-config authserver
+ ./acore.sh sm start authserver
+ ./acore.sh sm wait-uptime authserver 10 300
+ ./acore.sh sm stop authserver
+ ./acore.sh sm delete authserver
+ timeout-minutes: 30
+ continue-on-error: false