mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
gitlab-ci: add test stage
This commit is contained in:
parent
7310cfc557
commit
eb7f39f0aa
1 changed files with 13 additions and 1 deletions
|
@ -1,6 +1,18 @@
|
|||
image: nixos/nix:latest
|
||||
|
||||
pages:
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
||||
Run tests:
|
||||
stage: test
|
||||
script:
|
||||
- nix-shell tests -A run.all
|
||||
only:
|
||||
- master
|
||||
|
||||
Deploy manual:
|
||||
stage: deploy
|
||||
script:
|
||||
- mkdir -p ~/.config/nixpkgs
|
||||
- echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix
|
||||
|
|
Loading…
Reference in a new issue