Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zeeshan Ali
zbus
Commits
e27afbc9
Commit
e27afbc9
authored
Jun 06, 2021
by
Zeeshan Ali
Browse files
CI: Test external executors
parent
384df613
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/rust.yml
View file @
e27afbc9
...
...
@@ -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
...
...
.gitlab-ci.yml
View file @
e27afbc9
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment