README: clarify on how to run NixOS tests
This commit is contained in:
		
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							| @@ -84,6 +84,18 @@ jobs: | ||||
|  | ||||
| ```nix-instantiate --eval -E '(import <nixpkgs> {}).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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user