Skip to content
代码片段 群组 项目
未验证 提交 aaaec586 编辑于 作者: Rémy Coutable's avatar Rémy Coutable
浏览文件

ci: Generate Knapsack reports even in FOSS jobs


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
上级 754f56aa
No related branches found
No related tags found
无相关合并请求
...@@ -267,18 +267,15 @@ function rspec_parallelized_job() { ...@@ -267,18 +267,15 @@ function rspec_parallelized_job() {
export KNAPSACK_TEST_FILE_PATTERN=$(ruby -r./tooling/quality/test_level.rb -e "puts Quality::TestLevel.new(${spec_folder_prefixes}).pattern(:${test_level})") export KNAPSACK_TEST_FILE_PATTERN=$(ruby -r./tooling/quality/test_level.rb -e "puts Quality::TestLevel.new(${spec_folder_prefixes}).pattern(:${test_level})")
export FLAKY_RSPEC_REPORT_PATH="${rspec_flaky_folder_path}all_${report_name}_report.json" export FLAKY_RSPEC_REPORT_PATH="${rspec_flaky_folder_path}all_${report_name}_report.json"
export NEW_FLAKY_RSPEC_REPORT_PATH="${rspec_flaky_folder_path}new_${report_name}_report.json" export NEW_FLAKY_RSPEC_REPORT_PATH="${rspec_flaky_folder_path}new_${report_name}_report.json"
export KNAPSACK_GENERATE_REPORT="true"
export FLAKY_RSPEC_GENERATE_REPORT="true"
if [[ -d "ee/" ]]; then if [[ ! -f $FLAKY_RSPEC_REPORT_PATH ]]; then
export KNAPSACK_GENERATE_REPORT="true" echo "{}" > "${FLAKY_RSPEC_REPORT_PATH}"
export FLAKY_RSPEC_GENERATE_REPORT="true" fi
if [[ ! -f $FLAKY_RSPEC_REPORT_PATH ]]; then
echo "{}" > "${FLAKY_RSPEC_REPORT_PATH}"
fi
if [[ ! -f $NEW_FLAKY_RSPEC_REPORT_PATH ]]; then if [[ ! -f $NEW_FLAKY_RSPEC_REPORT_PATH ]]; then
echo "{}" > "${NEW_FLAKY_RSPEC_REPORT_PATH}" echo "{}" > "${NEW_FLAKY_RSPEC_REPORT_PATH}"
fi
fi fi
debug_rspec_variables debug_rspec_variables
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册