README: clarify on how to run NixOS tests
This commit is contained in:
parent
575d5faa90
commit
68043fd3c3
12
README.md
12
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user