diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-10 01:54:45 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-10 11:09:08 +0100 |
commit | 6615ab950b8ea776b69a776266f8a8cc9e8713a0 (patch) | |
tree | ff7bd97f8117a4a26882b4414ea1e99c404a3074 /.gitlab-ci.yml | |
parent | build: Add pre-commit hook (diff) | |
download | sophie-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.yml | 7 |
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 | ||
31 | test: | 31 | test: |
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 |
37 | build: | 42 | build: |