diff options
| author | Diego Pino Garcia <dpino@igalia.com> | 2021-01-20 21:23:04 +0800 |
|---|---|---|
| committer | Patrick Griffis <tingping@tingping.se> | 2021-04-13 21:14:37 +0000 |
| commit | 3613417fb9b579cfe9a3a85dca7996442e942fc6 (patch) | |
| tree | 7483d60e935fcc5c739a941f36b470f1d51b4180 | |
| parent | 9dc160e1e83dac5f9e2261ad7223816024796ade (diff) | |
| download | libsoup-3613417fb9b579cfe9a3a85dca7996442e942fc6.tar.gz | |
ci: add step to run autobahn tests
| -rw-r--r-- | .gitlab-ci.yml | 16 | ||||
| -rw-r--r-- | tests/autobahn/meson.build | 4 |
2 files changed, 17 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c95614c..18de3d45 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ fedora-test: - cp .gitlab-ci/lcovrc ~/.lcovrc - meson _build -Db_coverage=true -Dauto_features=enabled - meson compile -C _build - - meson test -C _build --verbose + - meson test --no-suite autobahn -C _build --verbose - ninja -C _build coverage-html artifacts: reports: @@ -32,6 +32,18 @@ fedora-test: - "_build/meson-logs/coveragereport" coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/' +fedora-autobahn: + extends: .build + script: + - meson test -C _build --suite autobahn --verbose + only: + changes: + - "libsoup/" + - "tests/autobahn" + artifacts: + paths: + - "_build/tests/autobahn/autobahn-report" + fedora-scan: extends: .build script: @@ -52,7 +64,7 @@ fedora-asan: SOUP_TEST_NO_IPV6: 1 script: - meson _build -Dauto-features=enabled -Db_sanitize=address -Dintrospection=disabled -Dvapi=disabled - - meson test -C _build --verbose --timeout-multiplier=10 + - meson test --no-suite autobahn -C _build --verbose --timeout-multiplier=10 artifacts: when: on_failure paths: diff --git a/tests/autobahn/meson.build b/tests/autobahn/meson.build index 20370b0b..c308f333 100644 --- a/tests/autobahn/meson.build +++ b/tests/autobahn/meson.build @@ -3,4 +3,6 @@ deps = [ libsoup_dep ] -executable('soup-autobahn-test-client', 'soup-autobahn-test-client.c', dependencies: deps) +client = executable('soup-autobahn-test-client', 'soup-autobahn-test-client.c', dependencies: deps) + +test('soup-autobahn-test-client', client, suite: 'autobahn', timeout: 3600) |
