Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable code coverage for opa #59

Merged
merged 2 commits into from
Sep 6, 2024
Merged

enable code coverage for opa #59

merged 2 commits into from
Sep 6, 2024

Conversation

ffortier
Copy link
Contributor

@ffortier ffortier commented Jul 3, 2024

Add code coverage support for opa_test

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash lcov

bazel coverage //examples/... --combined_report=lcov
cd examples/simple # see strip_prefix
genhtml ../../bazel-out/_coverage/_coverage/_coverage_report.data

Closes #50

@ffortier ffortier merged commit 0bdc11e into main Sep 6, 2024
1 check passed
@ffortier ffortier deleted the feature-coverage branch September 6, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Q: does this support bazel coverage?
1 participant