Closed exalate-issue-sync[bot] closed 2 years ago
I had similar issue with directory restructure. It seems that the cache doesn't contain a binary which is built during cargo build and required for some of the tests to run.
Have a look at: #559
A solution would be to add step in the workflow to build this binary:
- name: Cargo build dummy plugin
uses: actions-rs/cargo@v1
# https://github.com/marketplace/actions/rust-cargo
with:
command: build
args: -p tedge_dummy_plugin
Could be, but not completely the same list of tests are failing.
test tests::plugin_call_name_and_path ... ok
test tests::plugin_check_module_type_both_different ... ok
test tests::plugin_check_module_type_default ... ok
test tests::plugin_check_module_type_both_same ... ok
test tests::plugin_get_command_finalize ... ok
test tests::plugin_get_command_install ... ok
test tests::plugin_get_command_list ... ok
test tests::plugin_command_update_list_fallback ... FAILED
test tests::plugin_get_command_prepare ... ok
test tests::plugin_get_command_remove ... ok
test tests::plugin_get_command_update_list ... FAILED
I added cargo build -p tedge_dummy_plugin
step in #637 and https://github.com/thin-edge/thin-edge.io/actions/runs/1503955052, but it didn't help. As I mentioned above, plugin_get_comand_xxx
tests were successful. I think there is a different issue as this test fails in different tests.
Two tests are failed in tarpaulin.
test tests::plugin_command_update_list_fallback ... FAILED test tests::plugin_get_command_update_list ... FAILED