rust-vmm / rust-vmm-ci

Apache License 2.0
18 stars 33 forks source link

Setup for rust-vmm-ci-ci #75

Closed catalindumitru closed 3 years ago

catalindumitru commented 3 years ago

In order to be able to run the CI on rust-vmm-ci we needed to make it a rust crate. Also the path to the coverage config file needed to be updated in test_coverage.py so that the path does not depend on the crate; a breadth-first search was used to guarantee that the config file belongs to the crate that is being tested.

In the other crates, the tests reside in rust-vmm-ci/intergation_tests. When we test the CI itself, the tests reside in integration_tests. Therefore we needed to update the pytest commands to find the tests independently of the crate they are run from.