aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-01-10 01:54:45 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-01-10 11:09:08 +0100
commit6615ab950b8ea776b69a776266f8a8cc9e8713a0 (patch)
treeff7bd97f8117a4a26882b4414ea1e99c404a3074 /.gitlab-ci.yml
parentbuild: Add pre-commit hook (diff)
downloadsophie-6615ab950b8ea776b69a776266f8a8cc9e8713a0.tar.gz
sophie-6615ab950b8ea776b69a776266f8a8cc9e8713a0.tar.zst
sophie-6615ab950b8ea776b69a776266f8a8cc9e8713a0.zip
ci: Export test and coverage report
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1e94ade..3b20a62 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,8 +30,13 @@ typecheck:
30 30
31test: 31test:
32 stage: test 32 stage: test
33 coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
33 script: 34 script:
34 - yarn test 35 - yarn test:ci
36 artifacts:
37 reports:
38 cobertura: coverage/cobertura-coverage.xml
39 junit: junit.xml
35 40
36# TODO: GitlabCI free runners are only for linux - need to investigate for macos and windows artifacts 41# TODO: GitlabCI free runners are only for linux - need to investigate for macos and windows artifacts
37build: 42build: