Add requirements for running unit tests (#3350)

* Add requirements for running unit tests

* update
This commit is contained in:
YUNSHEN XIE
2025-08-14 17:37:18 +08:00
committed by GitHub
parent 7b596d0877
commit f72db9386c
2 changed files with 11 additions and 0 deletions

View File

@@ -205,6 +205,7 @@ jobs:
- name: Check Unit Test Success
shell: bash
run: |
cd FastDeploy
if [ "$TEST_EXIT_CODE" -eq 8 ]; then
filename=$(basename "$unittest_failed_url")
if [ -z "${unittest_failed_url}" ]; then
@@ -225,6 +226,7 @@ jobs:
- name: Verify Code Coverage Threshold (80%)
shell: bash
run: |
cd FastDeploy
if [ "$COVERAGE_EXIT_CODE" -eq 9 ]; then
echo "Coverage generation failed (exit code 9)"
filename=$(basename "$diff_cov_result_json_url")