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

test: define bazel-in-bazel integration tests #25

Merged
merged 12 commits into from
Feb 11, 2023
Merged

Conversation

aherrmann
Copy link
Owner

Closes #19

Installs and configures rules_bazel_integration_test.
Defines an integration test for bazel run on a zig_binary target.
Fixes the missing executable parameter to the zig_binary rule.
Configures CI to run the integration tests.

These are needed for integration testing to capture all files of the
rule set that have to be forwarded to the integration test for it to be
able to import the rule set successfully.
The bzl_library generating Gazelle extension removes the srcs attribute
for zig_test for some reason since the all_files filegroup targets were
added.
The comment confused the integration testing library.
@aherrmann aherrmann merged commit 1bf62c2 into main Feb 11, 2023
@aherrmann aherrmann deleted the integration-test branch February 11, 2023 10:19
@aherrmann aherrmann changed the title Define bazel-in-bazel integration tests test: define bazel-in-bazel integration tests Jun 2, 2023
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.

Add an integration test to bazel run a zig_binary
1 participant