README: clarify on how to run NixOS tests

This commit is contained in:
Domen Kožar 2020-11-12 17:45:56 +01:00 committed by GitHub
parent 575d5faa90
commit 68043fd3c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,6 +84,18 @@ jobs:
```nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'``` ```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 ## Hacking
Install the dependencies Install the dependencies