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