ci: Run test coverage for MSYS2 job

This commit is contained in:
Emmanuele Bassi 2019-04-06 15:22:04 +01:00
parent ed65996300
commit 95b7a8ab10
2 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -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 \