Skip to content

Commit 434dd8a

Browse files
committed
ci: Execute rest_api_test tests in codeconv
The tests in the rest_api_test.go file require dbus-launcher, available in dbus-x11. If that binary isn't available, the tests are skipped. A clear proof of this is the Codeconv checks, which show that the code in rest_api.go isn't being checked, even when there are tests that cover it. This patch fixes this.
1 parent c2e5074 commit 434dd8a

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/download-install-debian-deps

1 file changed

+1
-1
lines changed

.github/actions/download-install-debian-deps/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ runs:
2727
sudo apt update
2828
ln -s packaging/ubuntu-16.04 debian
2929
sudo apt build-dep -y "${{ inputs.snapd-src-dir }}"
30-
sudo apt install -y clang
30+
sudo apt install -y clang dbus-x11
3131
sudo apt install -y gcovr lcov
3232
rm -rf ./debian-deps

0 commit comments

Comments
 (0)