forked from thoughtpolice/bcachefs-tools
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Nixos tests #299
Open
tmuehlbacher
wants to merge
9
commits into
koverstreet:master
Choose a base branch
from
tmuehlbacher:nixos-tests
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Nixos tests #299
Commits on Jun 30, 2024
-
test(nix): add basic functionality testing infra
Use nixos-test scaffolding to spawn VMs and run any scripts in `checks/*.sh` as tests inside of the VM. This should lessen the risk of any obvious breakage in the CI but needs more and better tests to cover more commands. Signed-off-by: Thomas Mühlbacher <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e50eea - Browse repository at this point
Copy the full SHA 3e50eeaView commit details -
build(nix): filter src to reduce useless rebuilds
This in particular speeds up the dev/run/debug cycle for writing more tests. Without this, the actual bcachefs-tools package will be rebuilt by Nix all the time because of changes to files that are tracked by git. Even when it's changes in parts that aren't relevant to that package build such as `checks/*`. Signed-off-by: Thomas Mühlbacher <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 922ba24 - Browse repository at this point
Copy the full SHA 922ba24View commit details -
Revert "ci: run nix build in workflow"
This reverts commit 88aa61e. No longer required because the added nixos-tests check already causes the package to be built now. Signed-off-by: Thomas Mühlbacher <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6377d93 - Browse repository at this point
Copy the full SHA 6377d93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99b02a8 - Browse repository at this point
Copy the full SHA 99b02a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d00095 - Browse repository at this point
Copy the full SHA 9d00095View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31d031b - Browse repository at this point
Copy the full SHA 31d031bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e90e7 - Browse repository at this point
Copy the full SHA 77e90e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65f1c3f - Browse repository at this point
Copy the full SHA 65f1c3fView commit details -
test: add failing sub-test w/ dev added post mkfs
The second mount works if the device is already part of the `bcachefs format` but fails if it's added afterwards. In particular the `blkid` output is interesting.
Configuration menu - View commit details
-
Copy full SHA for 0e0be9b - Browse repository at this point
Copy the full SHA 0e0be9bView commit details
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.