Closed russcam closed 4 years ago
The cargo test results need to be transformed to junit output and persisted in a junit.xml file within the tests_output directory.
cargo junit looks promising to perform this, however it is missing the ability to pass other cargo test command line arguments such as --test-threads=1
, from what I can see, which are required for the yaml tests
I'm going to merge this in, and follow up with handling cargo test output to junit
clippy check failure is related to https://github.com/rust-lang/cargo/issues/8351
This commit adds the CI jobs and build scripts to run the yaml tests for the client in CI.
The Dockerfile is updated to run the yaml tests. A specific rust nightly version is defined that defines the rust toolchain used; current rust nightly (2020-06-12) is broken when attempting to build this project so a known good nightly version is used, which can be overridden with RUST_TOOLCHAIN environment variable.
Remove PowerShell scripts as shell scripts can be called from WSL2 with Docker on Windows.