Commit 3069f64
committed
Collect and report coverage for UnitsNet.Modular
The Modular test projects are absent from Build/test-projects.psm1, and this
workflow ran plain dotnet test, so nothing in the repository measured Modular
coverage. codecov.yml targets the 80-100 range, but that target only ever saw
the legacy projects.
Wraps the existing test run in the dotCover tool the repository already
depends on, and uploads the report the same way pr.yml does.
The filter is narrower than the legacy '+:module=UnitsNet*;-:module=*Tests'.
The compatibility suite compiles the current UnitsNet project and generates a
large fixture assembly, so the broad filter reports legacy UnitsNet at 24% and
a 19k-statement generated test fixture at 37%, dragging the headline to 31%
and measuring things this workflow does not own. Restricting it to the two
product assemblies reports what Modular is actually responsible for.
id-token is granted because this workflow, unlike pr.yml, declares its
permissions explicitly, so Codecov's use_oidc would otherwise have no token.1 parent 3bf1ef4 commit 3069f64
1 file changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
86 | | - | |
87 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
88 | 109 | | |
89 | 110 | | |
90 | 111 | | |
| |||
0 commit comments