[at-spi2-core: 1/4] Copy the coverage results to public/ so we can publish them later




commit 1383a54e75f8c6c081f147a250dc5ff5bd24a9c8
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Jan 17 09:49:44 2022 -0600

    Copy the coverage results to public/ so we can publish them later
    
    Also, expire the coverage job artifacts, since they will be published
    in a separate page anyway.

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index af6506fb..ecae8105 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,13 +157,16 @@ coverage:
     - dbus-run-session -- .gitlab-ci/run-tests.sh
     - lcov --config-file .gitlab-ci/lcovrc --directory _build --capture --output-file 
"_coverage/${CI_JOB_NAME}.lcov"
     - bash -x .gitlab-ci/gen-coverage.sh
+    - mkdir -p public/
+    - cp -r _coverage public/coverage
   coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
   artifacts:
     name: "at-spi2-core-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+    expire_in: 2 days
     when: always
     paths:
       - "_build/meson-logs"
-      - "_coverage"
+      - public
   allow_failure: true
 
 # Build the reference documentation.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]