From cf5e08cfb8ddb090b308e2796e85ac414fdd295c Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 14 Aug 2019 00:45:26 +0200 Subject: [PATCH] gitlab-ci: add test stage (cherry picked from commit eb7f39f0aaf3b3e65e783ba317d35ccb6c7e6f4c) --- .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18f19731e..a0b24bf25 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: + - release-19.03 + +Deploy manual: + stage: deploy script: - mkdir -p ~/.config/nixpkgs - echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix