Skip to content

Conversation

@symphorien
Copy link
Contributor

The goal was to improve discoverability of tests. Related NixOS/nixpkgs#44439
The result is not so good. It takes more than 10 minutes to evaluate all the tests, and we have to do it twice...
Also installer tests need a copy of nixpkgs as a dependency so everytime something is changed in nixpkgs they need to be rebuilt. We need to blacklist them otherwise it will make nox-review --with-tests really unusable, but I haven't found any better solution than blacklisting by name...

@symphorien
Copy link
Contributor Author

Hum by grouping evaluations in batches I can get down to 15 minutes for a nox-review (2 listings of tests and packages). This adds a new dependency: psutil, to evaluate how much parallelism is acceptable given the amount of free memory.
Please test on a very recent master, tests in older nixpkgs don't evaluate enough for this to work: NixOS/nixpkgs#44870 (and this even though I use tryEval...)

@madjar
Copy link
Owner

madjar commented Aug 14, 2018

Nice work, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants