-
-
Notifications
You must be signed in to change notification settings - Fork 359
tests: Remove the test link farm #1898
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
Conversation
|
We'll have to update the This could be another PR; this PR could just disable the |
|
Yeah I tried this PR to see what it would do, but I think we ought to wait for nix-community/buildbot-nix#217 to reduce the clutter a bit |
420b7ab to
51b5590
Compare
flake-modules/dev/launch-test.sh
Outdated
|
|
||
| run_tests() { | ||
| # Add the prefix "checks.${system}." to each argument | ||
| if ! "${NIXVIM_NIX_COMMAND}" build -f . "${@/#/checks.${NIXVIM_SYSTEM}.}"; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use --file instead of -f? I prefer using long-form options in scripts since anyone can follow their meaning, even if unfamiliar with the specific command's options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, does nix build -f . produce ./result? I'm wondering if we can speed up the generate-files build by doing all builds in one step?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does for each of the derivations passed to the command line.
I don't see how can be do all the builds in "one" step, I already pass all the builds to a single nix invocation :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, which comment are you replying to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we can speed up the generate-files build by doing all builds in one step?
The `tests` command can either launch all tests (without any arguments), a specific test with `-t/--test` or choose a test with `-i/--interactive`
MattSturgeon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues from me assuming everything works and tests pass etc
No description provided.