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

Use flake check for the documentation linting test #1366

Merged
merged 4 commits into from Jul 9, 2020

Conversation

nlewo
Copy link
Member

@nlewo nlewo commented Jun 11, 2020

The goal is to easily run the documentation CI tests locally.

  • It moves the documentation linting test as a flake check attribute.
  • The script lint-docs is now part of the shell environment.

The idea would be to move more CI scripts to nix flake check: it is easier to discover them and to reproduce them.

flake.nix Outdated Show resolved Hide resolved
flake.nix Outdated Show resolved Hide resolved
@nlewo nlewo force-pushed the flake-check branch 3 times, most recently from 7ad0044 to 4d85ec6 Compare June 11, 2020 13:36
The main objective is to be able to locally run what the CI is
running. Now, to run the doc linter, a user just have to run `nix
flake check`.

The `lint-docs` script is now available in the shell environment.
@nlewo
Copy link
Member Author

nlewo commented Jul 3, 2020

@adisbladis I think I've addressed all requests. Could you take a look?

@adisbladis adisbladis merged commit 403bc38 into NixOS:master Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants