k1LoW / tbls

tbls is a CI-Friendly tool for document a database, written in Go.
MIT License
3.37k stars 165 forks source link

Add Mermaid output format #414

Closed k1LoW closed 1 year ago

k1LoW commented 1 year ago

ref: #368

https://mermaid.js.org/syntax/entityRelationshipDiagram.html

( Not yet supported as tbls doc ER format )

github-actions[bot] commented 1 year ago

Code Metrics Report

main (560c057) #414 (349f289) +/-
Coverage 67.0% 65.0% -2.1%
Code to Test Ratio 1:0.5 1:0.5 +0.0
Test Execution Time 3m2s 3m59s +57s
Details ``` diff | | main (560c057) | #414 (349f289) | +/- | |---------------------|----------------|----------------|-------| - | Coverage | 67.0% | 65.0% | -2.1% | | Files | 34 | 35 | +1 | | Lines | 3310 | 3367 | +57 | - | Covered | 2218 | 2187 | -31 | + | Code to Test Ratio | 1:0.5 | 1:0.5 | +0.0 | | Code | 8578 | 8707 | +129 | + | Test | 3878 | 4081 | +203 | - | Test Execution Time | 3m2s | 3m59s | +57s | ```

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

Files Coverage +/-
output/mermaid/mermaid.go 77.2% +77.2%

Reported by octocov

github-actions[bot] commented 1 year ago

Code Metrics Report

main (560c057) #414 (922d9d3) +/-
Coverage 67.0% 65.0% -2.1%
Code to Test Ratio 1:0.5 1:0.5 +0.0
Test Execution Time 3m2s 3m24s +22s
Details ``` diff | | main (560c057) | #414 (922d9d3) | +/- | |---------------------|----------------|----------------|-------| - | Coverage | 67.0% | 65.0% | -2.1% | | Files | 34 | 35 | +1 | | Lines | 3310 | 3367 | +57 | - | Covered | 2218 | 2187 | -31 | + | Code to Test Ratio | 1:0.5 | 1:0.5 | +0.0 | | Code | 8578 | 8707 | +129 | + | Test | 3878 | 4081 | +203 | - | Test Execution Time | 3m2s | 3m24s | +22s | ```

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

Files Coverage +/-
output/mermaid/mermaid.go 77.2% +77.2%

Reported by octocov