Commit e27afbc9 authored by Zeeshan Ali's avatar Zeeshan Ali
Browse files

CI: Test external executors

parent 384df613
......@@ -29,6 +29,9 @@ jobs:
run: |
dbus-run-session --config-file /tmp/dbus-session-abstract.conf -- cargo test --verbose -- --skip fdpass_systemd
dbus-run-session --config-file /tmp/dbus-session.conf -- cargo test --verbose --all-features -- --skip fdpass_systemd
# Test external executor (currently only 2 tests can handle it so only run those)
dbus-run-session --config-file /tmp/dbus-session.conf -- cargo test --verbose --package zbus --no-default-features fdo::tests::signal_stream
dbus-run-session --config-file /tmp/dbus-session.conf -- cargo test --verbose --doc --no-default-features azync::connection::Connection::executor
- name: Check formatting
run: cargo fmt -- --check
- name: Catch common mistakes and unwrap calls
......
......@@ -85,6 +85,9 @@ check:
# check cookie-sha1 auth against dbus-daemon
- sed -i s/EXTERNAL/DBUS_COOKIE_SHA1/g /tmp/dbus-session.conf
- dbus-run-session --config-file /tmp/dbus-session.conf -- cargo test --verbose -- basic_connection
# Test external executor (currently only 2 tests can handle it so only run those)
- dbus-run-session --config-file /tmp/dbus-session.conf -- cargo test --verbose --package zbus --no-default-features fdo::tests::signal_stream
- dbus-run-session --config-file /tmp/dbus-session.conf -- cargo test --verbose --doc --no-default-features azync::connection::Connection::executor
test:
extends: .debian_img
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment