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

[chore] Build test tools in scoped tests action #37120

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Jan 9, 2025

Description:
The new GH action is breaking because gotestsum is not being built. I guess that in my fork the cache was always available when I tested. Anyway, building the tool to ensure the test works.

Testing:
The same step is already in other actions I will be testing this concurrently in my fork.

Documentation:
N/A

@pjanotti pjanotti requested a review from a team as a code owner January 9, 2025 19:21
@pjanotti pjanotti requested a review from songy23 January 9, 2025 19:21
@pjanotti pjanotti added Skip Changelog PRs that do not require a CHANGELOG.md entry ci-cd CI, CD, testing, build issues labels Jan 9, 2025
@@ -59,6 +59,9 @@ jobs:
./.tools
key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}

- name: Build test tools
run: make "$(${PWD} -replace '\\', '/')/.tools/gotestsum"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not portable, but, right now the action runs only on Windows.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle this could be conditional on the cache not being available, but, I'm afraid if the cache is saved via e2-to-e2-windows action it won't have the tools.

@crobert-1 crobert-1 added the ready to merge Code review completed; ready to merge by maintainers label Jan 9, 2025
@codeboten codeboten merged commit 56d636b into open-telemetry:main Jan 9, 2025
192 of 194 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd CI, CD, testing, build issues ready to merge Code review completed; ready to merge by maintainers Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants