This repository was archived by the owner on Oct 18, 2024. It is now read-only.
File tree 6 files changed +5343
-18
lines changed
6 files changed +5343
-18
lines changed Original file line number Diff line number Diff line change 1
- name : RSpec on PR merge
1
+ name : MiniTest on PR merge
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change 1
- /coverage
1
+ /coverage /assets /*
2
+ /coverage /index.html
3
+ /coverage /.resultset.json.lock
2
4
/zinbeijett.iml
3
5
.ruby-version
4
- Gemfile.lock
6
+ Gemfile.lock
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ codeToTestRatio:
10
10
- " mini_unit/*.rb"
11
11
report :
12
12
datastores :
13
- - artifact://${GITHUB_REPOSITORY}/base # .octocov.ymlとは違う保存先を指定する
13
+ - artifact://${GITHUB_REPOSITORY}/base
Original file line number Diff line number Diff line change 1
- coverage : # カバレッジ計測の設定
1
+ coverage :
2
2
paths :
3
- - coverage/.resultset.json # ここで指定した計測結果ファイルを読み込んで分析を行う
4
- # acceptable: current >= 5% && diff >= 0% # カバレッジが5%以上かつ比較対象との差分が+0%以上でなければCIがfailする
5
- testExecutionTime : # テスト実行時間
3
+ - coverage/.resultset.json
4
+ testExecutionTime :
6
5
steps :
7
- - Exec rspec # この名前に対応するGitHub Actionsのstepの実行時間を計測する
8
- acceptable : current <= 3min && diff <= 1min # 実行時間が3min以内かつ比較対象との差分が1min以内でなければCIがfailする
9
- codeToTestRatio : # Code to Test Ratio(実装コードの行数を1とした場合のテストコード行数の比率)の設定
6
+ - Exec MiniTest
7
+ acceptable : current <= 3min && diff <= 1min
8
+ codeToTestRatio :
10
9
test :
11
10
- " mini_test/*.rb"
12
11
- " mini_unit/*.rb"
13
- # acceptable: current >= 0.2 && diff >= 0 # Code to Test Ratioが0.2以上かつ比較対象との差分が0以上でなければCIがfailする
14
- comment : # レポート内容をコメント投稿設定
15
- if : is_pull_request # PRの場合のみコメントを投稿する
16
- hideFooterLink : false # フッターのoctocovのリンクを非表示にしない
17
- report : # レポートの出力設定
12
+ comment :
13
+ if : is_pull_request
14
+ hideFooterLink : false
15
+ report :
18
16
datastores :
19
- - artifact://${GITHUB_REPOSITORY} # レポートの出力先(GitHub ActionsのArtifactsに保存する)
17
+ - artifact://${GITHUB_REPOSITORY}
20
18
diff :
21
19
datastores :
22
- - artifact://${GITHUB_REPOSITORY}/base # .octocov.base.ymlのreport.datastoresで設定した保存先を指定する
20
+ - artifact://${GITHUB_REPOSITORY}/base
Original file line number Diff line number Diff line change
1
+ {
2
+ "result" : {
3
+ "line" : 6.94
4
+ }
5
+ }
You can’t perform that action at this time.
0 commit comments