ci(dir): collect coverage and upload at once#1038
Conversation
|
The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).
|
e43892a to
ccd04cf
Compare
bd8139f to
69be11f
Compare
28a3797 to
1fffce8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
The results from Codecov is not matching with the main: this branch: main branch: Need a bit investigation before merge. |
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
f53433e to
69e514c
Compare
Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
69e514c to
9b8c1f1
Compare
| echo "Running coverage tests in {{.ITEM}}" | ||
| go test -C {{.ITEM}} -covermode=atomic -coverprofile="{{.COVERAGE_DIR}}/unit/{{.ITEM}}.out" ./... > /dev/null | ||
|
|
||
| test:unit:coverage:local: |
There was a problem hiding this comment.
for e2e tests, we will not be able to see an equivalent report, right? we could potential remove this task but I am not against keeping it
There was a problem hiding this comment.
The test:unit:coverage:local was part of the test:unit:coverage task before, but I moved out the filtering part which is needed only for local usage (as codecov.yml has a separate config for that). So test:unit:coverage:local is usable locally for unit tests coverage. The E2E tests needs a bit more work later to have inline with this kind of taskfile structure.
This PR refactor the codecov coverage action by:
Taskfile.yml