-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
motivation
In GitHub Actions reusable workflow, we likely combine two phases: run go test -coverprofile=out
then collect coverage report.
For example:
- uses: actions/setup-go@v5
with:
go-version: stable
- run: go test -race -covermode=atomic -coverprofile=prof.out ./...
shell: bash
- k1LoW/octocov-action@v1
In this situation, I think, there is a structural problem.
- .octocov.yml may be stored on the caller repository
- on the other hand, resuable workflow will likely be stored another repository, such as octocat/workflows
- so we must sync coverage.report paths in the two or more repositories:
go test
of the reusable workflow- .octocov.yml for each repository
Metadata
Metadata
Assignees
Labels
No labels