feat: add test file

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim) 2023-07-17 16:39:19 +08:00
parent 4f9440afcf
commit c803a06eb3
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

View File

@ -105,6 +105,10 @@ jobs:
- name: push OpenIM - name: push OpenIM
run: | run: |
date > generated.txt date > generated.txt
git remote -v
git status
git branch -a
echo "===> git config user.name kubbot"
git config user.name kubbot git config user.name kubbot
git config user.email 3293172751ysy@gmail.com git config user.email 3293172751ysy@gmail.com
git add . git add .
@ -122,7 +126,7 @@ jobs:
continue-on-error: true continue-on-error: true
openim-start: openim-start:
name: Teat OpenIM make install start on ${{ matrix.os }} name: Test OpenIM make install start on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
environment: environment:
name: openim name: openim
@ -143,3 +147,10 @@ jobs:
- name: Run OpenIM make install start - name: Run OpenIM make install start
run: | run: |
sudo make install sudo make install
continue-on-error: true
- name: Upload Logs
uses: actions/upload-artifact@v2
with:
name: OpenIM Logs
path: /home/runner/work/Open-IM-Server/Open-IM-Server/logs/openIM.log