nix: run integration tests with race detector
Some checks failed
Test / Create distribution (push) Successful in 24s
Test / Run NixOS test (push) Failing after 1m59s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
Ophestra 2025-02-16 19:15:27 +09:00
parent 468696f611
commit 62cbe3d02c
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q

View File

@ -110,6 +110,9 @@ nixosTest {
environment.fortify = {
enable = true;
package = (pkgs.callPackage ./package.nix { }).overrideAttrs (previousAttrs: {
GOFLAGS = previousAttrs.GOFLAGS ++ [ "-race" ];
});
stateDir = "/var/lib/fortify";
users.alice = 0;