From 455828e9a994dd6b1376f5f079ff0ddb1032ab3a Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Fri, 24 Aug 2018 16:36:08 +0900 Subject: Testing --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d93704bb0..99bc2ed7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,6 +76,10 @@ source_dist: - export INTEGRATION_CACHE="$(pwd)/cache/integration-cache" + - ls cache || true + - ls cache/integration-cache || true + - du -hs cache || true + # Unpack and get into dist/buildstream - cd dist && ./unpack.sh - chown -R buildstream:buildstream buildstream @@ -85,10 +89,20 @@ source_dist: # user to test for permission issues - su buildstream -c 'python3 setup.py test --index-url invalid://uri --addopts --integration' + # Check if we accidentally ignored INTEGRATION_CACHE variable + - ls integration-cache || true + - du -hs integration-cache || true + # Go back to the toplevel and collect our reports - cd ../.. - mkdir -p coverage-linux/ - cp dist/buildstream/.coverage.* coverage-linux/coverage."${CI_JOB_NAME}" + + # Observe the expected cache, after the fact + - ls cache || true + - ls cache/integration-cache || true + - du -hs cache || true + artifacts: paths: - coverage-linux/ -- cgit v1.2.1