From d0c0427a1fedd6f59365e03989c954bb252507bc Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Tue, 8 Feb 2022 20:20:06 -0500 Subject: [PATCH] feat: publish coverage on main --- buildkite.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildkite.yaml b/buildkite.yaml index 2850712..0097f4d 100644 --- a/buildkite.yaml +++ b/buildkite.yaml @@ -14,15 +14,15 @@ steps: - cachix push alejandra develop - label: coverage - artifact_paths: - - tarpaulin-report.html + if: build.branch == "main" command: - echo +++ - direnv allow - eval "$(direnv export bash)" - - cargo tarpaulin -o html + - cargo tarpaulin --coveralls "${COVERALLS_REPO_TOKEN}" - label: diff + if: build.branch != "main" command: - git clone --depth 1 https://github.com/nixos/nixpkgs - echo --- Closure @ before