Redo integration tests#1765
Draft
hannaeko wants to merge 103 commits intoeza-community:mainfrom
Draft
Conversation
- add cache in container - add just command to regenerate the tests outputs
Auto-reading stdin was triggered for any non-terminal fd, including /dev/null. In sandboxed environments (bubblewrap, Docker, CI) stdin is commonly /dev/null, causing eza to read EOF immediately, leave input_paths empty, and produce no output with exit code 0. Use fstat(2) on Unix to check whether stdin is a FIFO before enabling auto-read mode. Character devices like /dev/null are excluded; explicit --stdin flag continues to work as before. Non-Unix builds retain the old is_terminal() fallback. Fixes eza-community#1725
cc9d29e to
08d3558
Compare
b3023e2 to
bec3bbf
Compare
…it’s crap…)" This reverts commit 18e2985.
783cf90 to
a2ba9a4
Compare
Contributor
|
I believe the tests are almost done. What’s left to do?
Questions:
Things for another PR(s):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(@ariasuni here) I was frustrated with the state of tests of eza. We realised the tests weren’t testing features very well or sometimes at all, and the setup was unclear and complicated.
So we removed most of what’s been here before, and built a new system around trycmd (that we already used).
anytests are run for every platforms in the CIlinuxtests are executed inside of Docker instead of using Nix, both locally and in the CIunixtests are executed on all Unix platforms we have in the CIwindows-only tests!