mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 09:41:39 -05:00
docs: Explain how to run specific tests
This commit is contained in:
parent
74a2521ab1
commit
752e83ae10
1 changed files with 6 additions and 0 deletions
|
@ -350,6 +350,12 @@ To list test names:
|
|||
nix eval --impure --expr 'let pkgs = import <nixpkgs> {}; in pkgs.lib.attrNames (import ./tests/default.nix {})'
|
||||
```
|
||||
|
||||
To run specific tests, add `--attr NAME` to the `nix-build` command above. For example, to run the `bcrypt` and `jq` tests:
|
||||
|
||||
```bash
|
||||
nix-build --attr bcrypt --attr jq --keep-going --show-trace tests/default.nix
|
||||
```
|
||||
|
||||
## Contact
|
||||
We have a Matrix room at [#poetry2nix:blad.is](https://matrix.to/#/#poetry2nix:blad.is).
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue