[Metax][CI]fix CI bug (#5698)

* Update run_ci_metax.sh

* Fix pull request branch reference in CI workflow
This commit is contained in:
Jiaxin Sui
2025-12-23 14:56:34 +08:00
committed by GitHub
parent 2c3c983b96
commit 0bef9b684f
2 changed files with 3 additions and 2 deletions

View File

@@ -29,5 +29,5 @@ jobs:
job_name: paddle_fastdeploy_metax_smoketest
username: fastdeploy_builder
api_token: ${{ secrets.METAX_JENKINS_API_TOKEN }}
pr_num: ${{ github.event.pull_request.number }}
project_branch: ${{ github.event.pull_request.head.ref }}
pr_number: ${{ github.event.pull_request.number }}
project_branch: ${{ github.event.pull_request.base.ref }}

View File

@@ -5,6 +5,7 @@ tests_path="$DIR/../tests/"
export PYTEST_INI="$DIR/../tests/cov_pytest.ini"
run_path=$( realpath "$DIR/../")
export COVERAGE_FILE=${COVERAGE_FILE:-$DIR/../coveragedata/.coverage}
export COVERAGE_RCFILE=${COVERAGE_RCFILE:-$DIR/../scripts/.coveragerc}