k1LoW / runn

runn is a package/tool for running operations following a scenario.
https://runn.run
MIT License
417 stars 30 forks source link

Fix a missing line bug when including a multi-line string. #921

Closed k1LoW closed 3 months ago

k1LoW commented 3 months ago

Fix https://github.com/k1LoW/runn/issues/920

github-actions[bot] commented 3 months ago

BenchmarkManyRunbooks-4

main (-) #921 (cfe2595) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 4,036,740,508 ns/op 3,866,335,529 ns/op -170,404,979 ns/op
Bytes allocated per iteration 1,792,594,160 B/op 1,792,828,328 B/op 234,168 B/op
Allocs per iteration 21,406,309 allocs/op 21,406,900 allocs/op 591 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#921](https://github.com/k1LoW/runn/pull/921) ([cfe2595](https://github.com/k1LoW/runn/commit/cfe2595c8b9be432a00cb317ae667e5728b5cdb8)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkOpenAPI3-4

main (-) #921 (cfe2595) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,078,098,169 ns/op 5,196,086,380 ns/op 117,988,211 ns/op
Bytes allocated per iteration 2,952,484,288 B/op 2,952,487,512 B/op 3,224 B/op
Allocs per iteration 29,381,005 allocs/op 29,382,680 allocs/op 1,675 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#921](https://github.com/k1LoW/runn/pull/921) ([cfe2595](https://github.com/k1LoW/runn/commit/cfe2595c8b9be432a00cb317ae667e5728b5cdb8)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkSingleRunbook-4

main (-) #921 (cfe2595) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 70,312,288 ns/op 66,230,458 ns/op -4,081,830 ns/op
Bytes allocated per iteration 60,319,182 B/op 60,284,136 B/op -35,046 B/op
Allocs per iteration 205,798 allocs/op 205,763 allocs/op -35 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#921](https://github.com/k1LoW/runn/pull/921) ([cfe2595](https://github.com/k1LoW/runn/commit/cfe2595c8b9be432a00cb317ae667e5728b5cdb8)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

Reported by octocov

github-actions[bot] commented 3 months ago

Code Metrics Report

main (323d803) #921 (cfe2595) +/-
Coverage 65.7% 65.7% +0.0%
Code to Test Ratio 1:0.5 1:0.5 -0.0
Test Execution Time - 5m40s +5m40s
Details ``` diff | | main (323d803) | #921 (cfe2595) | +/- | |---------------------|----------------|----------------|--------| + | Coverage | 65.7% | 65.7% | +0.0% | | Files | 71 | 71 | 0 | | Lines | 7705 | 7707 | +2 | + | Covered | 5059 | 5061 | +2 | - | Code to Test Ratio | 1:0.5 | 1:0.5 | -0.0 | | Code | 22400 | 22403 | +3 | + | Test | 10621 | 10622 | +1 | - | Test Execution Time | - | 5m40s | +5m40s | ```

Code coverage of files in pull request scope (87.2% → 87.4%)

Files Coverage +/-
eval.go 87.4% +0.1%

Reported by octocov