mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-21 16:10:52 +00:00
README: clarify on how to run NixOS tests
This commit is contained in:
parent
575d5faa90
commit
68043fd3c3
1 changed files with 12 additions and 0 deletions
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
|
||||
|
|
Loading…
Reference in a new issue