diff --git a/.buildkite/docker/Dockerfile b/.buildkite/docker/Dockerfile index 3acabbd57..f32421f6e 100644 --- a/.buildkite/docker/Dockerfile +++ b/.buildkite/docker/Dockerfile @@ -3,4 +3,6 @@ FROM rust:latest RUN rustup component add rustfmt && \ rustup component add clippy +RUN cargo install cargo-tarpaulin + WORKDIR /sdk-core diff --git a/.buildkite/docker/docker-compose.yaml b/.buildkite/docker/docker-compose.yaml index 13d3cc132..0aca4f6e2 100644 --- a/.buildkite/docker/docker-compose.yaml +++ b/.buildkite/docker/docker-compose.yaml @@ -5,6 +5,8 @@ services: build: context: ../../ dockerfile: .buildkite/docker/Dockerfile + security_opt: + - seccomp:unconfined command: /bin/sh -c ".buildkite/docker/build.sh" environment: - "USER=unittest" diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 92e370956..415db733f 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -23,7 +23,9 @@ steps: agents: queue: "default" docker: "*" - command: "cargo test --workspace" + command: "cargo tarpaulin --out Html --workspace" + artifact_paths: + - "tarpaulin-report.html" timeout_in_minutes: 15 plugins: - docker-compose#v3.0.0: