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 <catdum@amazon.com>
This commit is contained in:
Catalin Dumitru
2021-07-30 15:35:11 +03:00
committed by Laura Loghin
parent 0b9d283cff
commit a00c7d2f1b

View File

@@ -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