-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
nixosTest matrix (prev also modularity, option docs) #176557
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
Draft
roberth
wants to merge
35
commits into
NixOS:master
Choose a base branch
from
hercules-ci:nixosTest-modular-and-matrix
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.
Draft
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
fbfa710
nixos/testing/runTest: Add matrix options
roberth 4e121bb
nixosTests.hostname: Convert to module and plug into the matrix
roberth dfcc7a7
nixosTests.hostname: Move initialization to all-tests.nix
roberth df2210a
nixos/testing/runTest: Add params option
roberth 0922560
nixosTests.hostname: Simplify
roberth ffbc787
nixosTests.avahi: Use module system based runner
roberth 4415d0f
nixos/testing/matrix: Add 0-cost extend to result
roberth f492ba6
nixosTests.cassandra: Use module based runner
roberth b7f1b13
lib/modules: Add attrArgName
roberth e65670e
nixos/testing/matrix: Add matrix choice to module args + format
roberth 90c7db8
nixosTests.networking: Use module based runner
roberth 80aa03d
nixos/testing: Remove redundant attributes from release.nix (hydra)
roberth c4807ba
nixos/testing/matrix: Add module indirection to avoid ambiguous `name…
roberth 84d6ecb
Revert "lib/modules: Add attrArgName"
roberth 67039d4
nixosTests.hostname: Fix warning
roberth 354e70b
lib/testing/matrix: matrix.*.value -> matrix.*.choice
roberth 3e6dac8
nixos/testing: Move entrypoint to nixos/lib + doc
roberth 1da655b
nixos/doc/writing-nixos-tests: Document how matrix options can be used
roberth 28bf46f
doc/coding-conventions: Update Linking NixOS module tests to package
roberth 84b5e96
nixos/testing: Remove params
roberth ac3c995
nixos/testing/matrix.nix: Only set a default for the module argument
roberth ba02d18
nixos/testing: Embrace callTest
roberth 5439754
nixos/tests: Add names
roberth 6821d6e
nixos/doc/writing-nixos-test: Improve section about matrix module
roberth d6e4086
nixos/testing: Improve option docs
roberth 0be6914
nixos/doc: Wire up the test options reference
roberth 93512eb
nixos/doc/writing-nixos-tests: Various improvements
roberth dc2c81a
nixos/testing/matrix: Remove movie references
roberth 7189c0e
nixos/doc/writing-nixos-tests: Using the right scope
roberth 9ed4ff1
nixos/testing: Rename local variable
roberth dd150e7
nixos/testing: Add matrix.<name>.choice.<name>.enable
roberth 66ac8ed
nixos/testing: Add matrix.<decision>.choice.<choice>.value alias
roberth 0a157f3
nixos/testing: Add matrix.<decision>.isBool convenience
roberth ecd4e73
nixos/testing: Rename <choice>.module -> <choice>.extraConfig
roberth 1b39fb2
nixos/lib/testing: Pull callTest in
roberth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.