Skip to content
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

Allow installing unit tests #9360

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

Ericson2314
Copy link
Member

Motivation

Closes #9343

See that issue for motivation.

Context

Installing these is disabled by default, but we enable it (and the additional output we want isntall these too so as not to clutter the existing ones) to use in cross builds and dev shells.

Priorities

Add 👍 to pull requests you find important.

@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Nov 15, 2023
configure.ac Outdated Show resolved Hide resolved
Closes NixOS#9343

See that issue for motivation.

Installing these is disabled by default, but we enable it (and the
additional output we want isntall these too so as not to clutter the
existing ones) to use in cross builds and dev shells.
Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Are you planning on doing the same for the functional tests?

@thufschmitt thufschmitt merged commit fabae98 into NixOS:master Nov 16, 2023
8 checks passed
@Ericson2314 Ericson2314 deleted the install-unit-tests branch November 16, 2023 20:31
@Ericson2314
Copy link
Member Author

@thufschmitt I don't think the bash really needs it since there is nothing to compile? There is the plugin and the standalone executable test, but I think for those ensuring they compile is very much part of the test?

At least I've been perfect happy with the "nix against nix" tests since your first introduced them in a0866c8 :)

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/nix-on-windows/1113/99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install unit tests in new output
4 participants