summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-14 22:13:26 -0600
committermo khan <mo.khan@gmail.com>2020-06-14 22:13:26 -0600
commit9b60586f2d3020baa1d196844eef65cb0a044f6b (patch)
treeff8fc222e63a1150bfdd7ac039d068386e9cb7cc
parente8eeaa28eae8e201e77256140f00e4f29b09f212 (diff)
Try to export junit report
-rw-r--r--.gitlab-ci.yml7
-rw-r--r--Makefile4
2 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3bfe621..45f1b57 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,7 @@
test:
stage: test
- script:
- - make
+ script: make ci
+ artifacts:
+ reports:
+ junit:
+ - ./junit/*.xml
diff --git a/Makefile b/Makefile
index 4915d6e..58231b0 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,10 @@ CC=gcc
test : main
cgreen-runner -c main
+ci : main
+ mkdir -p junit
+ cgreen-runner -c --xml=junit/ main
+
run : main
./main