Skip to content

ci: Run test on library dependency updates#295

Merged
grayside merged 1 commit into
mainfrom
test-deps
Jun 6, 2025
Merged

ci: Run test on library dependency updates#295
grayside merged 1 commit into
mainfrom
test-deps

Conversation

@grayside
Copy link
Copy Markdown
Contributor

@grayside grayside commented Jun 6, 2025

Currently when go.mod or go.sum is updated, we do not run tests.

This change folds go.mod and go.sum into the testing process, so that changes to library dependencies lead to running the tests. Most of the test is generating the library, and these dependencies do not impact that. However, the final step of testing library generation is running the tests, and at that point verifying this dependency behavior is important.

In the future, we may split off a dedicated "test the library as-is with updated dependencies" workflow, but for now this is the lowest lift.

@grayside grayside requested a review from a team June 6, 2025 21:26
@product-auto-label product-auto-label Bot added the api: eventarc Issues related to the googleapis/google-cloudevents-go API. label Jun 6, 2025
@grayside grayside merged commit 6d8bd72 into main Jun 6, 2025
6 checks passed
@grayside grayside deleted the test-deps branch June 6, 2025 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: eventarc Issues related to the googleapis/google-cloudevents-go API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants