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

nix/tests: run test help.sh only if nix is built with documentation (backport #11729) #11743

Open
wants to merge 1 commit into
base: 2.24-maintenance
Choose a base branch
from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 23, 2024

Motivation

tests/functional/help.sh calls nix-* commands with option --help
if nix is built without documentation the option --help throws an error because the man page it wants to display is missing

Context

With disabled docs nix can not be built because of a failing test.

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.


This is an automatic backport of pull request #11729 done by [Mergify](https://mergify.com).

tests/functional/help.sh calls nix-* commands with option --help
if nix is built without documentation the option --help throws an error
because the man page it wants to display is missing

(cherry picked from commit 85b0cd3)
@mergify mergify bot added the merge-queue label Oct 23, 2024
@mergify mergify bot requested a review from edolstra as a code owner October 23, 2024 17:43
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Oct 23, 2024
@roberth
Copy link
Member

roberth commented Oct 24, 2024

This is blocked because the (pull_request) variation of the installer jobs did not run. @Mic92 Are you familiar with this? Can we configure it to only look at the (push) ones?
Alternatively, we could try to get the (pull_request) ones to actually run.

@Mic92
Copy link
Member

Mic92 commented Oct 24, 2024

Yes. It think we actually want to run those for mergify. Here is the config: https://github.com/NixOS/nix/blob/master/.mergify.yml
But I think I want to actually update the GitHub ci config to enable those installer builds. For Backports this makes sense to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-queue 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.

3 participants