diff options
author | Alp Mestanogullari <alpmestan@gmail.com> | 2019-04-26 13:58:32 +0200 |
---|---|---|
committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2019-05-03 21:54:50 +0300 |
commit | 8f929388c4b79b82a6e7772720d785f3cbc1f3c1 (patch) | |
tree | 0d1cc8e8a182f0a78fbbb032ac4b446f3951ac9a /.gitlab-ci.yml | |
parent | 0dde64f28a587f66bc44e591744712004bfff19f (diff) | |
download | haskell-8f929388c4b79b82a6e7772720d785f3cbc1f3c1.tar.gz |
Hadrian: generate JUnit testsuite report in Linux CI job
We also keep it as an artifact, like we do for non-Hadrian jobs, and list it
as a junit report, so that the test results are reported in the GitLab UI for
merge requests.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b13cadeb4..c254b5171d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -144,16 +144,19 @@ lint-release-changelogs: - ./boot - ./configure $CONFIGURE_ARGS - hadrian/build.cabal.sh -j`mk/detect-cpu-count.sh` --docs=no-sphinx binary-dist - - hadrian/build.cabal.sh -j`mk/detect-cpu-count.sh` --docs=no-sphinx test + - hadrian/build.cabal.sh -j`mk/detect-cpu-count.sh` --docs=no-sphinx test --summary-junit=./junit.xml - mv _build/bindist/ghc*.tar.xz ghc.tar.xz cache: key: hadrian paths: - cabal-cache artifacts: - when: always + reports: + junit: junit.xml + expire_in: 2 week paths: - ghc.tar.xz + - junit.xml validate-x86_64-linux-deb8-hadrian: extends: .validate-hadrian |