diff --git a/.github/workflows/run_test_cases.yml b/.github/workflows/run_test_cases.yml index 11d1598585..659f7fd9e3 100644 --- a/.github/workflows/run_test_cases.yml +++ b/.github/workflows/run_test_cases.yml @@ -105,8 +105,8 @@ jobs: run: | set -x AUTOTEST_VERSION="v3.7" - TEST_PROJECTS_EXTERNAL="../../cocos-test-projects" - CCTEST_PLUGINS="../../TestAction" + TEST_PROJECTS_EXTERNAL="E:/pr-test/cocos-test-projects" + CCTEST_PLUGINS="E:/pr-test/TestPlugin" if [ ! -d $TEST_PROJECTS_EXTERNAL ]; then mkdir -p $TEST_PROJECTS_EXTERNAL git clone https://github.com/cocos/cocos-test-projects.git $TEST_PROJECTS_EXTERNAL @@ -118,7 +118,7 @@ jobs: git -C $TEST_PROJECTS_EXTERNAL checkout origin/$AUTOTEST_VERSION git -C $TEST_PROJECTS_EXTERNAL pull origin $AUTOTEST_VERSION --allow-unrelated-histories rm -rf $TEST_PROJECTS_EXTERNAL/extensions/automation-framework - 7z x -y $CCTEST_PLUGINS/*.zip -o $TEST_PROJECTS_EXTERNAL/extensions/automation-framework + 7z x -y $CCTEST_PLUGINS/*.zip -o$TEST_PROJECTS_EXTERNAL/extensions/automation-framework macOS-RunTestCases: @@ -220,7 +220,7 @@ jobs: set -x AUTOTEST_VERSION="v3.7" TEST_PROJECTS_EXTERNAL="../../cocos-test-projects" - CCTEST_PLUGINS="../../TestAction" + CCTEST_PLUGINS="../../TestPlugin" if [ ! -d $TEST_PROJECTS_EXTERNAL ]; then mkdir -p $TEST_PROJECTS_EXTERNAL git clone https://github.com/cocos/cocos-test-projects.git $TEST_PROJECTS_EXTERNAL @@ -243,7 +243,7 @@ jobs: id: run_test_cases run: | sed -x - node ../../test-projects/extensions/automation-framework/node_modules/@cctest/scheduler/dist/cli.js cicd -p PR-TEST -v ${{ steps.parse_pr.outputs.pr_base_ref }} -r test-cctest.cocos.org + scheduler cicd -p PR-TEST -v ${{ steps.parse_pr.outputs.pr_base_ref }} -g PR-TEST -r cctest.cocos.org JOBID='cat ../../test-projects/extensions/automation-framework/node_modules/@cctest/scheduler/logs/PR-TEST/nowJobId.log' cd .. python3 -u ./python/main.py -target=job_result --jobid=$JOBID