diff options
author | Robert Helgesson <robert@rycee.net> | 2019-08-14 00:45:26 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-08-14 17:38:47 +0200 |
commit | eb7f39f0aaf3b3e65e783ba317d35ccb6c7e6f4c (patch) | |
tree | f71f0e3771bbdadadb8da55142acbc6445640505 /.gitlab-ci.yml | |
parent | 7310cfc557b38b6b27beeda1455fd81d15ed7ce7 (diff) |
gitlab-ci: add test stage
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18f19731e53..2fe0352bbc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 |