1
Fork 0
mirror of https://github.com/RGBCube/agenix synced 2025-08-02 11:47:46 +00:00

contrib: add direct tests for agenix

These tests are MUCH faster than the NixOS tests.
This commit is contained in:
Ryan Mulligan 2023-02-21 20:35:56 -08:00
parent 564595d0ad
commit 097aa18b59
2 changed files with 49 additions and 25 deletions

View file

@ -9,7 +9,9 @@ jobs:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
extra_nix_config: |
system-features = nixos-test recursive-nix benchmark big-parallel kvm
extra-experimental-features = recursive-nix nix-command flakes
- run: nix build
- run: nix build .#doc
- run: nix fmt . -- --check
@ -20,7 +22,9 @@ jobs:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
extra_nix_config: |
system-features = nixos-test recursive-nix benchmark big-parallel kvm
extra-experimental-features = recursive-nix nix-command flakes
- run: nix build
- run: nix build .#doc
- run: nix fmt . -- --check