diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-01-17 09:49:44 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-01-17 09:49:44 -0600 |
commit | 1383a54e75f8c6c081f147a250dc5ff5bd24a9c8 (patch) | |
tree | 0763b156bdd409abbc40f0b683a375061d74871c /.gitlab-ci.yml | |
parent | b064af5f483ee7e9c2b1f8c2f3fb7cf92831cb54 (diff) | |
download | at-spi2-core-1383a54e75f8c6c081f147a250dc5ff5bd24a9c8.tar.gz |
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
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. |