From 9646521d06ba233464f1b8a487b47ff1ba25eab1 Mon Sep 17 00:00:00 2001
From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com>
Date: Sun, 7 Jan 2024 12:26:58 +0800
Subject: [PATCH] feat: add openim mongo logic
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
---
.github/workflows/e2e-test.yml | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index f9fc72f71..fbf20c8b3 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -92,21 +92,22 @@ jobs:
- name: Exec OpenIM API test
run: |
- echo "# OpenIM Test" > /tmp/test-api.md
- echo "Command Output for OpenIM API Test
" >> /tmp/test-api.md
- echo "```" >> /tmp/test-api.md
- sudo make test-api | tee -a /tmp/test-api.md
- echo "```" >> /tmp/test-api.md
- echo " " >> /tmp/test-api.md
+ mkdir /tmp/test.md || true
+ echo "# OpenIM Test" > /tmp/test.md
+ echo "Command Output for OpenIM API Test
" >> /tmp/test.md
+ echo "```" >> /tmp/test.md
+ sudo make test-api | tee -a /tmp/test.md
+ echo "```" >> /tmp/test.md
+ echo " " >> /tmp/test.md
- name: Exec OpenIM E2E Test
run: |
- echo "# OpenIM E2E Test" >> /tmp/test-e2e.md
- echo "Command Output for OpenIM E2E Test
" >> /tmp/test-e2e.md
- echo "```" >> /tmp/test-e2e.md
- sudo make test-e2e | tee -a /tmp/test-e2e.md
- echo "```" >> /tmp/test-e2e.md
- echo " " >> /tmp/test-e2e.md
+ echo "# OpenIM E2E Test" >> /tmp/test.md
+ echo "Command Output for OpenIM E2E Test
" >> /tmp/test.md
+ echo "```" >> /tmp/test.md
+ sudo make test-e2e | tee -a /tmp/test.md
+ echo "```" >> /tmp/test.md
+ echo " " >> /tmp/test.md
- name: Exec OpenIM System uninstall
run: |