1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

gitlab-ci: add test stage

(cherry picked from commit eb7f39f0aa)
This commit is contained in:
Robert Helgesson 2019-08-14 00:45:26 +02:00
parent 45a73067ac
commit cf5e08cfb8
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -1,6 +1,18 @@
image: nixos/nix:latest image: nixos/nix:latest
pages: stages:
- test
- deploy
Run tests:
stage: test
script:
- nix-shell tests -A run.all
only:
- release-19.03
Deploy manual:
stage: deploy
script: script:
- mkdir -p ~/.config/nixpkgs - mkdir -p ~/.config/nixpkgs
- echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix - echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix