mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Adjusting win script errors in pr test (#14845)
Win-RunTestCases errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user