mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
ci/check: Run checks for all systems (not only x86_64-darwin)
This commit is contained in:
parent
a88b955020
commit
3aaa1531a9
2 changed files with 4 additions and 4 deletions
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
@ -19,6 +19,6 @@ jobs:
|
|||
with:
|
||||
name: nix-community
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: nix flake check
|
||||
- run: nix flake check ./templates/_wrapper/simple
|
||||
- run: nix flake check --all-systems --max-jobs 1
|
||||
- run: nix flake check --all-systems ./templates/_wrapper/simple
|
||||
- run: nix build .#docs --show-trace
|
||||
|
|
|
@ -7,7 +7,7 @@ This document is mainly for contributors to nixvim, but it can also be useful fo
|
|||
In order to submit a change you must be careful of several points:
|
||||
|
||||
- The code must be properly formatted. This can be done through `nix fmt`.
|
||||
- The tests must pass. This can be done through `nix flake check` (this also checks formatting).
|
||||
- The tests must pass. This can be done through `nix flake check --all-systems` (this also checks formatting).
|
||||
- The change should try to avoid breaking existing configurations.
|
||||
- If the change introduces a new feature it should add tests for it (see the architecture section for details).
|
||||
|
||||
|
@ -104,7 +104,7 @@ You can specify the special `tests` attribute in the configuration that will not
|
|||
|
||||
- `tests.dontRun`: avoid launching this test, simply build the configuration.
|
||||
|
||||
The tests are then runnable with `nix flake check`.
|
||||
The tests are then runnable with `nix flake check --all-systems`.
|
||||
|
||||
There are a second set of tests, unit tests for nixvim itself, defined in `tests/lib-tests.nix` that use the `pkgs.lib.runTests` framework.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue