mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Metax][CI]fix CI bug (#5698)
* Update run_ci_metax.sh * Fix pull request branch reference in CI workflow
This commit is contained in:
4
.github/workflows/ci_metax.yml
vendored
4
.github/workflows/ci_metax.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user