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

[testing] Add av command to simplify cross-repo tool maintenance #3619

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

marun
Copy link
Contributor

@marun marun commented Dec 23, 2024

Why this should be merged

In anticipation of rewriting shell scripts intended for reuse (in VM repos like subnet-evm and hypersdk) to golang, add a unified entrypoint to simplify usage.

How this works

  • adds command tests/av/cmd with support for running ginkgo
  • updates ginkgo.sh script to use av

How this was tested

CI validating usage of ginkgo

Need to be documented in RELEASES.md?

N/A

Previously, ginkgo was installed with an explicit version which made
it easy for the ginkgo command and the test code to be using different
versions. Using `go run` without a tag ensures that the go.mod version
of ginkgo is always used for the command.
@marun marun added the testing This primarily focuses on testing label Dec 23, 2024
@marun marun self-assigned this Dec 23, 2024
- not sure it is ideal to have to wrap commands
  - how does `go tool` do it?
- maybe stick to installing and using the installed version
  - `go run` makes sense for local commands, but why for ones in
    different repos?
Base automatically changed from unify-ginkgo-version to master December 23, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarily focuses on testing
Projects
Status: In Progress 🏗
Development

Successfully merging this pull request may close these issues.

1 participant