-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Makefile target to run itests #11780
Comments
As an example of the impact of this problem, ecosystem partners are forced to to open a fake PR to get itests to invoke. #11987 is an example. https://filecoinproject.slack.com/archives/CP50PPW2X/p1714698675147429?thread_ts=1711282222.982289&cid=CP50PPW2X is a #fil-lotus-dev thread on this. |
An update to this issue. With https://github.com/filecoin-project/lotus/pull/12407/files in place a plain
The need for the timeout comes from I suspect that simply separating the individual test files into a |
Checklist
Ideas
.Lotus component
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
Be able to execute the same paths CI runs but locally if you have the resources to do so.
Describe the solution you'd like
We now have
make unittests
to run everything but itests, we should have amake itests
to do the itests. I'm not sure if amake test
is a good idea though, we don't really want to give the impression this is a good idea for any contributor to run (maybe it could print documentation though).Currently itests are each run separately, and they are configured independently in the CI config. It would not be ideal to have yet another place to have to remember to add your new itest to make it run, so some deduplication is needed. Either the Makefile target reads CI config (new GitHub Actions one) to figure out what and how to run, or we make CI config and Makefile depend on some new configuration, perhaps a text file in the itests directory, or perhaps we decorate itests in source and extract metadata from there.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: