summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2021-12-14 16:53:00 -0600
committerFederico Mena Quintero <federico@gnome.org>2021-12-14 16:53:00 -0600
commitfe37ef337db152c9b67db31db1c5ce1a1f847225 (patch)
tree8bfe3c9150cfac5121b48b7f03d5e1836a2629ce
parenta607ce0cb87e8ad66680920dac241ec655d42b11 (diff)
downloadat-spi2-core-fe37ef337db152c9b67db31db1c5ce1a1f847225.tar.gz
.gitlab-ci/README.md - basic documentation on the CI scripts
-rw-r--r--.gitlab-ci/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitlab-ci/README.md b/.gitlab-ci/README.md
new file mode 100644
index 00000000..f80669b5
--- /dev/null
+++ b/.gitlab-ci/README.md
@@ -0,0 +1,26 @@
+# Continuous Integration scripts for at-spi2-core
+
+Please see the general [documentation for at-spi2-core's Gitlab CI][ci-docs].
+
+This directory contains scripts which get called during a CI run, and
+utilities to maintain the CI infrastructure.
+
+* `run-tests.sh` - Runs the test suite and prints other diagnostics.
+
+* `gen-coverage.sh` - After the test suite is run, merges the various
+ code coverage reports from `lcov`, and generates an HTML report.
+
+* `lcovrc` - Configuration file for `lcov`, used by `gen-coverage.sh`.
+ Among other things, this tells `lcov` to exclude branch coverage for
+ the unreachable branches of `g_return_if_fail()` and friends.
+
+* `run-style-check.sh` - Runs `clang-format-diff` to test for source
+ files with inconsistent formatting, and uploads the resulting report
+ to gitlab so it can be viewed as part of a merge request's analysis.
+
+* `search-common-ancestor.sh` - Utility used from
+ `run-style-check.sh`; finds a git branch point from the current
+ commit.
+
+
+[ci-docs]: ../devel-docs/gitlab-ci.md