feat: add openim mongo logic

Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
pull/1696/head
Xinwei Xiong (cubxxw) 2 years ago
parent d3dd4b26a8
commit cf95b4cb3b

@ -92,11 +92,18 @@ jobs:
- name: Exec OpenIM API test - name: Exec OpenIM API test
run: | run: |
sudo make test-api | tee /tmp/test-api.md echo "# OpenIM Test" > /tmp/test-api.md
echo "## Command Output" >> /tmp/test-api.md
echo "```" >> /tmp/test.md
sudo make test-api | tee -a /tmp/test-api.md
echo "```" >> /tmp/test.md
- name: Exec OpenIM E2E test - name: Exec OpenIM E2E Test
run: | run: |
sudo make test-e2e | tee /tmp/test-api.md echo "## Command Output" >> /tmp/test-e2e.md
echo "```" >> /tmp/test.md
sudo make test-e2e | tee -a /tmp/test-e2e.md
echo "```" >> /tmp/test.md
- name: Exec OpenIM System uninstall - name: Exec OpenIM System uninstall
run: | run: |
@ -105,10 +112,12 @@ jobs:
- name: Comment PR with file - name: Comment PR with file
uses: thollander/actions-comment-pull-request@v2 uses: thollander/actions-comment-pull-request@v2
with: with:
filePath: /tmp/test-api.md filePath: /tmp/test.md
comment_tag: nrt_file comment_tag: nrt_file
reactions: eyes, rocket reactions: eyes, rocket
mode: recreate mode: recreate
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Check outputs - name: Check outputs
run: | run: |

Loading…
Cancel
Save