File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -126,14 +126,16 @@ jobs:
126
126
127
127
- name : Display Missing Test Paths
128
128
run : |
129
- jq -sc '
130
- (map(.operations) | add | unique) as $all |
131
- (map(.evaluated_operations) | add | unique) as $evaluated |
132
- $all-$evaluated |
133
- sort_by(.path) |
134
- .[] |
135
- "\(.method) \(.path)"
136
- ' $(find ./ -name "test-spec-coverage-*.json")
129
+ jq -r -sc '
130
+ (map(.operations) | add | unique) as $all |
131
+ (map(.evaluated_operations) | add | unique) as $evaluated |
132
+ ($all-$evaluated | map({path: .path, method: .method, evaluated: false})) as $unevaluated |
133
+ ($evaluated | map({path: .path, method: .method, evaluated: true})) as $evaluated |
134
+ $evaluated+$unevaluated |
135
+ sort_by(.path) |
136
+ map(if .evaluated then "-[x] \(.method) \(.path)" else "-[ ] \(.method) \(.path)" end) |
137
+ .[]
138
+ ' $(find ./ -name "test-spec-coverage-*.json")
137
139
138
140
- name : Combine Test Coverage Data
139
141
shell : bash -eo pipefail {0}
You can’t perform that action at this time.
0 commit comments