mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-31 08:28:34 +00:00
ci: Use meson JUnit integration in GitLab CI
This allows GitLab to show a nice UI for the test report.
This commit is contained in:
parent
b30d5e72c5
commit
e6f59a01c4
@ -27,9 +27,13 @@ fedora:Werror:
|
|||||||
- eval `dbus-launch --sh-syntax`
|
- eval `dbus-launch --sh-syntax`
|
||||||
- meson test -C _build --print-errorlogs
|
- meson test -C _build --print-errorlogs
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
reports:
|
||||||
|
junit: "_build/meson-logs/testlog.junit.xml"
|
||||||
|
name: "libsecret-werror-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- _build/meson-logs/testlog.txt
|
- "_build/config.h"
|
||||||
|
- "_build/meson-logs"
|
||||||
|
|
||||||
fedora:asan:
|
fedora:asan:
|
||||||
stage: build
|
stage: build
|
||||||
@ -44,9 +48,13 @@ fedora:asan:
|
|||||||
- eval `dbus-launch --sh-syntax`
|
- eval `dbus-launch --sh-syntax`
|
||||||
- meson test -C _build --print-errorlogs
|
- meson test -C _build --print-errorlogs
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
reports:
|
||||||
|
junit: "_build/meson-logs/testlog.junit.xml"
|
||||||
|
name: "libsecret-asan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- _build/meson-logs/testlog.txt
|
- "_build/config.h"
|
||||||
|
- "_build/meson-logs"
|
||||||
|
|
||||||
fedora:ubsan:
|
fedora:ubsan:
|
||||||
stage: build
|
stage: build
|
||||||
@ -60,9 +68,13 @@ fedora:ubsan:
|
|||||||
- eval `dbus-launch --sh-syntax`
|
- eval `dbus-launch --sh-syntax`
|
||||||
- meson test -C _build --print-errorlogs
|
- meson test -C _build --print-errorlogs
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
reports:
|
||||||
|
junit: "_build/meson-logs/testlog.junit.xml"
|
||||||
|
name: "libsecret-ubsan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- _build/meson-logs/testlog.txt
|
- "_build/config.h"
|
||||||
|
- "_build/meson-logs"
|
||||||
|
|
||||||
fedora-static-analyzers/test:
|
fedora-static-analyzers/test:
|
||||||
stage: build
|
stage: build
|
||||||
@ -89,9 +101,13 @@ fedora:PAM:
|
|||||||
- eval `dbus-launch --sh-syntax`
|
- eval `dbus-launch --sh-syntax`
|
||||||
- meson test -C _build --print-errorlogs
|
- meson test -C _build --print-errorlogs
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
reports:
|
||||||
|
junit: "_build/meson-logs/testlog.junit.xml"
|
||||||
|
name: "libsecret-pam-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- _build/meson-logs/testlog.txt
|
- "_build/config.h"
|
||||||
|
- "_build/meson-logs"
|
||||||
|
|
||||||
fedora:coverage:
|
fedora:coverage:
|
||||||
stage: build
|
stage: build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user