From ba5222c269ffe73763b000666586298d6f78612f Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Mon, 17 Jul 2023 14:43:59 +0800 Subject: [PATCH] feat: add test file Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .github/workflows/openimci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index 4aeac59ef..e3547412d 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -57,43 +57,44 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v3 - with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Run go modules tidy run: | sudo make tidy + echo "Run go modules tidy successfully" >> $GITHUB_OUTPUT - name: Run go format run: | sudo make format - echo "Run go format successfully" + echo "Run go format successfully" >> $GITHUB_OUTPUT continue-on-error: true - name: Generate all necessary files, such as error code files run: | make generate + echo "Generate all necessary files successfully" >> $GITHUB_OUTPUT continue-on-error: true - name: Run unit test and get test coverage run: | make cover + echo "Run unit test and get test coverage successfully" >> $GITHUB_OUTPUT continue-on-error: true - name: Build source code for host platform run: | sudo make build - echo "Build source code for host platform successfully" + echo "Build source code for host platform successfully" >> $GITHUB_OUTPUT - name: OpenIM verify copyright run: | sudo make verify-copyright - echo "OpenIM verify successfully" + echo "OpenIM verify successfully" >> $GITHUB_OUTPUT - name: Clean all build run: | sudo make clean - echo "Clean all build successfully" + echo "Clean all build successfully" >> $GITHUB_OUTPUT - name: push OpenIM uses: stefanzweifel/git-auto-commit-action@v4