From 1fc91a8b9029b91dabc4c2a02d913bd5b483577f Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Tue, 8 Feb 2022 17:25:33 -0500 Subject: [PATCH] feat: add pipeline tests --- buildkite.yaml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/buildkite.yaml b/buildkite.yaml index 40a0191..befd81b 100644 --- a/buildkite.yaml +++ b/buildkite.yaml @@ -1,4 +1,25 @@ steps: -- label: test +- label: build + command: + - nix3 build + +- label: cache + if: build.branch == "main" + command: + - nix3 build + - cachix push alejandra result + + - nix3 develop --profile develop --command true + - cachix push alejandra develop + +- label: coverage + artifact_paths: + - tarpaulin-report.html + command: + - direnv allow + - eval "$(direnv export bash)" + - cargo tarpaulin -o html + +- label: flake check command: - nix3 flake check