]> njoseph.me Git - nimcoon.git/commitdiff
ci: Run unit tests in pipeline
authorJoseph Nuthalapati <njoseph@riseup.net>
Sun, 12 Jan 2020 06:34:24 +0000 (12:04 +0530)
committerJoseph Nuthalapati <njoseph@riseup.net>
Sun, 12 Jan 2020 06:34:24 +0000 (12:04 +0530)
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
.gitlab-ci.yml

index e5efc7163133748eb7c7805cb354fb8c6e263211..a87da85c8a7f1b644bee64b8c0d1a228b0e8bf2a 100644 (file)
@@ -2,12 +2,14 @@ image: nimlang/nim:latest
 
 stages:
   - test
-  - publish
+  - build
 
-compile:
+run-unit-tests:
   stage: test
   script:
     - nim c -d:ssl -r tests
+
+publish-artifacts:
   stage: publish
   script:
     - nim c -d:ssl -d:release nimcoon.nim && strip nimcoon