diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-06 16:15:26 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-08 13:10:49 -0400 |
commit | 89f126628286e2dcdf846aa32b530d54558055f8 (patch) | |
tree | f5151a1b5abede2f528e7a6a73f050c34ab4a0ca | |
parent | 374c4e0ad3f418396414684775d58d0d0beea27e (diff) | |
download | buildstream-89f126628286e2dcdf846aa32b530d54558055f8.tar.gz |
WIP: Trying to share and collate coverage reports
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ef4149635..76069b861 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,10 @@ cache: paths: - cache/buildstream/sources/ +stages: + - test + - report + before_script: # Diagnostics - mount @@ -20,19 +24,28 @@ before_script: # Run premerge commits # tests: + stage: test script: - dnf install -y bzr - python3 setup.py test + - cp .coverage coverage/ + artifacts: + paths: + - coverage/ # Run integration tests # integration_tests: + stage: test script: - dnf install -y findutils bzr - pip3 install . - git clone https://gitlab.com/BuildStream/buildstream-tests.git - cd buildstream-tests - ./run-test.sh --arg --colors test + artifacts: + paths: + - coverage/ # Automatically build documentation, only for merges which land # on master branch. |