1
0
forked from baron/baron-sso

ci: add code check badges and coverage reports

This commit is contained in:
2026-05-29 12:05:43 +09:00
parent c489c7c38f
commit a830242947
164 changed files with 9059 additions and 2012 deletions

View File

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="191" height="20" role="img" aria-label="adminfront coverage: 38.89%">
<title>adminfront coverage: 38.89%</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="r"><rect width="191" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="140" height="20" fill="#555"/>
<rect x="140" width="51" height="20" fill="#bf8700"/>
<rect width="191" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="70" y="15" fill="#010101" fill-opacity=".3">adminfront coverage</text>
<text x="70" y="14">adminfront coverage</text>
<text x="165.5" y="15" fill="#010101" fill-opacity=".3">38.89%</text>
<text x="165.5" y="14">38.89%</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1002 B

42
docs/badges/badges.json Normal file
View File

@@ -0,0 +1,42 @@
{
"schemaVersion": 1,
"generatedBy": "scripts/update_code_check_badges.mjs",
"updatedAt": "2026-05-29T03:04:40.216Z",
"badges": {
"code-check": {
"label": "code check",
"message": "unknown",
"color": "#6e7781"
},
"biome": {
"label": "biome",
"message": "unknown",
"color": "#6e7781"
},
"userfront-e2e-fast": {
"label": "userfront e2e fast",
"message": "unknown",
"color": "#6e7781"
},
"userfront-e2e-full": {
"label": "userfront e2e full",
"message": "unknown",
"color": "#6e7781"
},
"adminfront-coverage": {
"label": "adminfront coverage",
"message": "38.89%",
"color": "#bf8700"
},
"devfront-coverage": {
"label": "devfront coverage",
"message": "8.87%",
"color": "#cf222e"
},
"orgfront-coverage": {
"label": "orgfront coverage",
"message": "37.50%",
"color": "#bf8700"
}
}
}

19
docs/badges/biome.svg Normal file
View File

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="102" height="20" role="img" aria-label="biome: unknown">
<title>biome: unknown</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="r"><rect width="102" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="44" height="20" fill="#555"/>
<rect x="44" width="58" height="20" fill="#6e7781"/>
<rect width="102" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="22" y="15" fill="#010101" fill-opacity=".3">biome</text>
<text x="22" y="14">biome</text>
<text x="73" y="15" fill="#010101" fill-opacity=".3">unknown</text>
<text x="73" y="14">unknown</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 942 B

View File

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="136" height="20" role="img" aria-label="code check: unknown">
<title>code check: unknown</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="r"><rect width="136" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="78" height="20" fill="#555"/>
<rect x="78" width="58" height="20" fill="#6e7781"/>
<rect width="136" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="39" y="15" fill="#010101" fill-opacity=".3">code check</text>
<text x="39" y="14">code check</text>
<text x="107" y="15" fill="#010101" fill-opacity=".3">unknown</text>
<text x="107" y="14">unknown</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 964 B

View File

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="170" height="20" role="img" aria-label="devfront coverage: 8.87%">
<title>devfront coverage: 8.87%</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="r"><rect width="170" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="126" height="20" fill="#555"/>
<rect x="126" width="44" height="20" fill="#cf222e"/>
<rect width="170" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="63" y="15" fill="#010101" fill-opacity=".3">devfront coverage</text>
<text x="63" y="14">devfront coverage</text>
<text x="148" y="15" fill="#010101" fill-opacity=".3">8.87%</text>
<text x="148" y="14">8.87%</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 986 B

View File

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="177" height="20" role="img" aria-label="orgfront coverage: 37.50%">
<title>orgfront coverage: 37.50%</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="r"><rect width="177" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="126" height="20" fill="#555"/>
<rect x="126" width="51" height="20" fill="#bf8700"/>
<rect width="177" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="63" y="15" fill="#010101" fill-opacity=".3">orgfront coverage</text>
<text x="63" y="14">orgfront coverage</text>
<text x="151.5" y="15" fill="#010101" fill-opacity=".3">37.50%</text>
<text x="151.5" y="14">37.50%</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 994 B

View File

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="191" height="20" role="img" aria-label="userfront e2e fast: unknown">
<title>userfront e2e fast: unknown</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="r"><rect width="191" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="133" height="20" fill="#555"/>
<rect x="133" width="58" height="20" fill="#6e7781"/>
<rect width="191" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="66.5" y="15" fill="#010101" fill-opacity=".3">userfront e2e fast</text>
<text x="66.5" y="14">userfront e2e fast</text>
<text x="162" y="15" fill="#010101" fill-opacity=".3">unknown</text>
<text x="162" y="14">unknown</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1002 B

View File

@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" width="191" height="20" role="img" aria-label="userfront e2e full: unknown">
<title>userfront e2e full: unknown</title>
<linearGradient id="s" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="r"><rect width="191" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="133" height="20" fill="#555"/>
<rect x="133" width="58" height="20" fill="#6e7781"/>
<rect width="191" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
<text x="66.5" y="15" fill="#010101" fill-opacity=".3">userfront e2e full</text>
<text x="66.5" y="14">userfront e2e full</text>
<text x="162" y="15" fill="#010101" fill-opacity=".3">unknown</text>
<text x="162" y="14">unknown</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1002 B