From 68043fd3c39467300b2cf963b245dcea7ea979d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 12 Nov 2020 17:45:56 +0100 Subject: [PATCH] README: clarify on how to run NixOS tests --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 0b0f3a0..6ac9844 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,18 @@ jobs: ```nix-instantiate --eval -E '(import {}).lib.version'``` +### How can I run NixOS tests? + +With the following inputs: + +```yaml + - uses: cachix/install-nix-action@vXX + with: + extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm" +``` + +Note that there's no hardware acceleration on GitHub Actions. + ## Hacking Install the dependencies