ci(gitlab): 添加标签和限制条件以优化 CI 流程
This commit is contained in:
parent
3547f32493
commit
b86b14a9a4
@ -13,6 +13,10 @@ playwright_tests:
|
||||
paths:
|
||||
- test-results/
|
||||
expire_in: 1 week
|
||||
tags:
|
||||
- test # 指定使用标签为 test 的 Runner
|
||||
only:
|
||||
- main
|
||||
|
||||
send_report:
|
||||
stage: report
|
||||
@ -25,5 +29,7 @@ send_report:
|
||||
else
|
||||
echo "No test results found."
|
||||
fi
|
||||
tags:
|
||||
- test # 指定使用标签为 test 的 Runner
|
||||
only:
|
||||
- main
|
||||
Reference in New Issue
Block a user