mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 03:22:39 +08:00
@@ -81,7 +81,7 @@ jobs:
|
||||
id: run_test_cases
|
||||
run: |
|
||||
cd ..
|
||||
python3 -u ./python/main.py ${{ steps.parse_pr.outputs.pr_base_ref }}
|
||||
python3 -u ./python/main.py --workspace ${{github.workspace}} --pr_number ${{ steps.get_pr.outputs.pr_number }} --author ${{ steps.parse_pr.outputs.pr_author }} --base_ref ${{ steps.parse_pr.outputs.pr_base_ref }} --base_sha ${{ steps.parse_pr.outputs.pr_base_sha }} --head_ref ${{ steps.parse_pr.outputs.pr_head_ref }} --head_sha ${{ steps.parse_pr.outputs.pr_head_sha }}
|
||||
- name: Update Comment
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
with:
|
||||
@@ -91,8 +91,10 @@ jobs:
|
||||
- Test Platform: Windows
|
||||
- Task Result: ${{ steps.run_test_cases.outputs.task }}
|
||||
- Task URL: ${{ steps.run_test_cases.outputs.url }}
|
||||
- Task Details: ${{ steps.run_test_cases.outputs.msg }}
|
||||
- GitHub Action: https://github.com/cocos/cocos-engine/actions/runs/${{ github.run_id }}
|
||||
## Task Details
|
||||
${{ steps.run_test_cases.outputs.report }}
|
||||
|
||||
macOS-RunTestCases:
|
||||
if: |
|
||||
contains(github.event.pull_request.body, '[X] needs automatic test cases check') ||
|
||||
@@ -164,7 +166,7 @@ jobs:
|
||||
id: run_test_cases
|
||||
run: |
|
||||
cd ..
|
||||
python3 -u ./python/main.py ${{ steps.parse_pr.outputs.pr_base_ref }}
|
||||
python3 -u ./python/main.py --workspace ${{github.workspace}} --pr_number ${{ steps.get_pr.outputs.pr_number }} --author ${{ steps.parse_pr.outputs.pr_author }} --base_ref ${{ steps.parse_pr.outputs.pr_base_ref }} --base_sha ${{ steps.parse_pr.outputs.pr_base_sha }} --head_ref ${{ steps.parse_pr.outputs.pr_head_ref }} --head_sha ${{ steps.parse_pr.outputs.pr_head_sha }}
|
||||
- name: Update Comment
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
with:
|
||||
@@ -174,5 +176,6 @@ jobs:
|
||||
- Test Platform: macOS
|
||||
- Task Result: ${{ steps.run_test_cases.outputs.task }}
|
||||
- Task URL: ${{ steps.run_test_cases.outputs.url }}
|
||||
- Task Details: ${{ steps.run_test_cases.outputs.msg }}
|
||||
- GitHub Action: https://github.com/cocos/cocos-engine/actions/runs/${{ github.run_id }}
|
||||
## Task Details
|
||||
${{ steps.run_test_cases.outputs.report }}
|
||||
|
||||
Reference in New Issue
Block a user