This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 79ed19b Shutdown and show log
79ed19b is described below
commit 79ed19bef716d296e17305fd30b0827ccbcffbcb
Author: Sebb <[email protected]>
AuthorDate: Wed Jan 26 00:28:23 2022 +0000
Shutdown and show log
---
.github/workflows/integration-tests.yml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/integration-tests.yml
b/.github/workflows/integration-tests.yml
index 87f064b..11cd2fe 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -56,7 +56,7 @@ jobs:
- name: Server
run: |
cd server
- python main.py --apilog INFO --logger INFO &
+ python main.py --apilog INFO --logger INFO > main.log &
- name: preferences1
run: |
curl -sq http://localhost:8080/api/preferences.lua
@@ -71,4 +71,8 @@ jobs:
if: always()
run: |
curl -sq http://localhost:8080/api/preferences.lua
-# TODO: ideally at the end of this job, stop the background job
+ - name: Shutdown
+ if: always()
+ run: |
+ curl -sq http://localhost:8080/api/stop
+ cat server/main.log