k1LoW / runn

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

Fix a bug where runners defined in runner runners could not be used in combination with test runner or dump runner. #968

Closed k1LoW closed 1 month ago

k1LoW commented 1 month ago

SSIA.

github-actions[bot] commented 1 month ago

BenchmarkManyRunbooks-4

main (-) #968 (4c7fe32) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,791,724,756 ns/op 4,037,759,876 ns/op 246,035,120 ns/op
Bytes allocated per iteration 1,793,878,040 B/op 1,793,572,912 B/op -305,128 B/op
Allocs per iteration 21,414,991 allocs/op 21,414,424 allocs/op -567 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#968](https://github.com/k1LoW/runn/pull/968) ([4c7fe32](https://github.com/k1LoW/runn/commit/4c7fe320c9431c97b654688f344102f8a18c2176)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #968 (4c7fe32) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,275,092,263 ns/op 5,095,313,856 ns/op -179,778,407 ns/op
Bytes allocated per iteration 2,955,786,176 B/op 2,955,984,784 B/op 198,608 B/op
Allocs per iteration 29,424,245 allocs/op 29,424,570 allocs/op 325 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#968](https://github.com/k1LoW/runn/pull/968) ([4c7fe32](https://github.com/k1LoW/runn/commit/4c7fe320c9431c97b654688f344102f8a18c2176)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 (-) #968 (4c7fe32) +/-
Number of iterations 18 19 1
Nanoseconds per iteration 65,142,695 ns/op 65,944,557 ns/op 801,862 ns/op
Bytes allocated per iteration 60,290,386 B/op 60,284,230 B/op -6,156 B/op
Allocs per iteration 205,785 allocs/op 205,772 allocs/op -13 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#968](https://github.com/k1LoW/runn/pull/968) ([4c7fe32](https://github.com/k1LoW/runn/commit/4c7fe320c9431c97b654688f344102f8a18c2176)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **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 1 month ago

Code Metrics Report

main (24c17c0) #968 (4c7fe32) +/-
Coverage 64.1% 64.1% -0.1%
Code to Test Ratio 1:0.4 1:0.4 +0.0
Test Execution Time 5m37s 5m41s +4s
Details ``` diff | | main (24c17c0) | #968 (4c7fe32) | +/- | |---------------------|----------------|----------------|-------| - | Coverage | 64.1% | 64.1% | -0.1% | | Files | 77 | 77 | 0 | | Lines | 8541 | 8541 | 0 | - | Covered | 5482 | 5481 | -1 | + | Code to Test Ratio | 1:0.4 | 1:0.4 | +0.0 | | Code | 24194 | 24191 | -3 | | Test | 11586 | 11586 | 0 | - | Test Execution Time | 5m37s | 5m41s | +4s | ```

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

Files Coverage +/-
step.go 91.3% 0.0%

Reported by octocov