From a00c7d2f1be99c1519ef53ed310da49b4352973a Mon Sep 17 00:00:00 2001 From: Catalin Dumitru Date: Fri, 30 Jul 2021 15:35:11 +0300 Subject: [PATCH] Update the pipeline steps that run the tests 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 make the command find the tests independently of the crate it is run from. Signed-off-by: Catalin Dumitru --- .buildkite/pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 4854fe5..8ea89bf 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -172,7 +172,7 @@ steps: - label: "coverage-x86" commands: - - pytest rust-vmm-ci/integration_tests/test_coverage.py + - find . -type f -name "test_coverage.py" | xargs pytest retry: automatic: false agents: @@ -205,7 +205,7 @@ steps: - label: "commit-format" commands: - - pytest rust-vmm-ci/integration_tests/test_commit_format.py + - find . -type f -name "test_commit_format.py" | xargs pytest if: build.env("BUILDKITE_REPO") !~ /^git@/ retry: automatic: false