Daily Test Coverage Improver - Updates to complete configuration#675
Open
github-actions[bot] wants to merge 1 commit intomainfrom
Open
Daily Test Coverage Improver - Updates to complete configuration#675github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
This action automates the test coverage generation workflow: - Installs Go dependencies - Runs tests with race detector and coverage profiling - Generates coverage summary and HTML report - Uploads coverage artifacts for analysis The action uses the existing 'make test' target which runs: go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a composite GitHub Action to automate test coverage generation for the Daily Test Coverage Improver workflow. The action orchestrates the complete coverage collection process by executing the existing make test command and generating both machine-readable and human-readable coverage reports.
Key changes:
- Creates a new composite action that runs tests with coverage and uploads artifacts
- Integrates with existing Makefile test infrastructure
- Provides comprehensive logging for debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This PR adds the coverage collection action required by the Daily Test Coverage Improver workflow. This action automates the test coverage generation process for the AIKit repository.
What's included
.github/actions/daily-test-improver/coverage-steps/action.ymlA composite GitHub Action that:
make testwhich runs the full test suite with race detection and coverage profilingHow it works
The action follows the existing test infrastructure documented in the repository's Makefile:
All step outputs are logged to
coverage-steps.logfor debugging.Coverage artifacts
After running, the action uploads three files as the "coverage" artifact:
coverage.txt- Go coverage profile (used for programmatic analysis)coverage.html- Human-readable HTML coverage reportcoverage-steps.log- Complete log of all steps executedNext steps
After this PR is merged, the Daily Test Coverage Improver will be able to:
Maintainer review needed
Please review this action to ensure:
This PR was created by the Daily Test Coverage Improver workflow.