Commit e37432b
authored
Merge pull request #68 from RandomProgramm3r/develop
fix(ci): Correct Codecov reporting and file discovery
This commit resolves a critical issue where Codecov was reporting inaccurate coverage metrics due to missing source files. The CI workflow has been updated to ensure all relevant files are discovered and processed correctly.
Key changes:
- The `coverage run` command now explicitly specifies the source directory (`--source='.'`) and the target applications (`business`, `core`, `user`). This forces `coverage` to analyze all relevant files, not just those touched by tests, fixing the incorrect file and line counts in Codecov reports.
- The path to the `.coveragerc` configuration file is now correctly specified, ensuring custom settings are applied.
- The Codecov GitHub Action is now configured with the correct `directory` to locate the `coverage.xml` report.
- The entire test and coverage generation command has been streamlined for better clarity and reliability.1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
0 commit comments