mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
ci: Run test coverage for MSYS2 job
This commit is contained in:
parent
ed65996300
commit
95b7a8ab10
@ -125,10 +125,13 @@ msys2-mingw32:
|
|||||||
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
|
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
|
||||||
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
|
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
|
||||||
artifacts:
|
artifacts:
|
||||||
|
reports:
|
||||||
|
junit: "_build/%CI_JOB_NAME%-report.xml"
|
||||||
name: "glib-%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
|
name: "glib-%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- _build/meson-logs
|
- _build/meson-logs
|
||||||
|
- "_build/%CI_JOB_NAME%-report.xml"
|
||||||
- _coverage/
|
- _coverage/
|
||||||
|
|
||||||
vs2017-x64:
|
vs2017-x64:
|
||||||
|
@ -53,6 +53,12 @@ ninja
|
|||||||
# FIXME: fix the test suite
|
# FIXME: fix the test suite
|
||||||
meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} --no-suite flaky || true
|
meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} --no-suite flaky || true
|
||||||
|
|
||||||
|
python3 "${DIR}"/.gitlab-ci/meson-junit-report.py \
|
||||||
|
--project-name glib \
|
||||||
|
--job-id "${CI_JOB_NAME}" \
|
||||||
|
--output "${DIR}/_build/${CI_JOB_NAME}-report.xml" \
|
||||||
|
"${DIR}/_build/meson-logs/testlog.json"
|
||||||
|
|
||||||
"${LCOV}" \
|
"${LCOV}" \
|
||||||
--quiet \
|
--quiet \
|
||||||
--config-file "${DIR}"/.gitlab-ci/lcovrc \
|
--config-file "${DIR}"/.gitlab-ci/lcovrc \
|
||||||
|
Loading…
Reference in New Issue
Block a user