A stuck test in the shared job was cut at the runner's one-hour limit and hid the other tests' results. The matrix list is static; check-vm-test-list.sh fails CI when it differs from nix/vm-tests.nix.
18 lines
916 B
Nix
18 lines
916 B
Nix
# NixOS VM tests: one derivation per test, exposed as `vmTests.<system>.<name>`.
|
|
# Kept out of `checks` because each boots VMs and needs KVM; the nightly
|
|
# workflow `.forgejo/workflows/vm-nightly.yml` builds them, one job per test; a
|
|
# new test also needs an entry in that workflow's matrix.
|
|
{
|
|
pkgs,
|
|
hivePriv,
|
|
self,
|
|
}:
|
|
{
|
|
agent-ephemeral-rootfs = import ./vm-tests/agent-ephemeral-rootfs.nix { inherit pkgs hivePriv; };
|
|
hive-squid = import ./vm-tests/hive-squid.nix { inherit pkgs hivePriv; };
|
|
hive-egress-antispoof = import ./vm-tests/hive-egress-antispoof.nix { inherit pkgs hivePriv; };
|
|
swarm-archive = import ./vm-tests/swarm-archive.nix { inherit pkgs; };
|
|
swarm-builder-offline = import ./vm-tests/swarm-builder-offline.nix { inherit pkgs self; };
|
|
full-setup = import ./vm-tests/full-setup.nix { inherit pkgs self; };
|
|
semi-spread = import ./vm-tests/semi-spread.nix { inherit pkgs self; };
|
|
}
|