|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
|
|
name: OpenIM Linux System E2E Test
|
|
|
|
|
name: OpenIM E2E And API Test
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
workflow_dispatch:
|
|
|
|
@ -82,7 +82,7 @@ jobs:
|
|
|
|
|
sudo make tidy
|
|
|
|
|
sudo make tools.verify.go-gitlint
|
|
|
|
|
|
|
|
|
|
- name: Build, Start
|
|
|
|
|
- name: Build, Start(make build && make start)
|
|
|
|
|
run: |
|
|
|
|
|
sudo ./scripts/install/install.sh -i
|
|
|
|
|
|
|
|
|
@ -90,9 +90,8 @@ jobs:
|
|
|
|
|
run: |
|
|
|
|
|
sudo ./scripts/install/install.sh -s
|
|
|
|
|
|
|
|
|
|
- name: Exec OpenIM API test
|
|
|
|
|
- name: Exec OpenIM API test (make test-api)
|
|
|
|
|
run: |
|
|
|
|
|
sudo make test-api
|
|
|
|
|
mkdir -p ./tmp
|
|
|
|
|
touch ./tmp/test.md
|
|
|
|
|
echo "# OpenIM Test" >> ./tmp/test.md
|
|
|
|
@ -103,9 +102,10 @@ jobs:
|
|
|
|
|
echo "</code></pre>" >> ./tmp/test.md
|
|
|
|
|
echo "</details>" >> ./tmp/test.md
|
|
|
|
|
|
|
|
|
|
- name: Exec OpenIM E2E Test
|
|
|
|
|
sudo make test-api
|
|
|
|
|
|
|
|
|
|
- name: Exec OpenIM E2E Test (make test-e2e)
|
|
|
|
|
run: |
|
|
|
|
|
sudo make test-e2e
|
|
|
|
|
echo "" >> ./tmp/test.md
|
|
|
|
|
echo "## OpenIM E2E Test" >> ./tmp/test.md
|
|
|
|
|
echo "<details><summary>Command Output for OpenIM E2E Test</summary>" >> ./tmp/test.md
|
|
|
|
@ -114,6 +114,8 @@ jobs:
|
|
|
|
|
echo "</code></pre>" >> ./tmp/test.md
|
|
|
|
|
echo "</details>" >> ./tmp/test.md
|
|
|
|
|
|
|
|
|
|
sudo make test-e2e
|
|
|
|
|
|
|
|
|
|
- name: Comment PR with file
|
|
|
|
|
uses: thollander/actions-comment-pull-request@v2
|
|
|
|
|
with:
|
|
|
|
|