Skip to content

Commit

Permalink
Don't run llvm-cov install recipe in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SRv6d committed Oct 3, 2024
1 parent 92e4e00 commit 8bcdabf
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CI := env("CI", "false")
export CI := env("CI", "false")

default: lint test

Expand Down Expand Up @@ -53,5 +53,10 @@ _validate_semver version:
exit 1
fi
_install_llvm_cov run:
{{ if run == "true" { "cargo install cargo-llvm-cov --locked" } else { "" } }}
_install_llvm_cov $run:
#!/usr/bin/env bash
set -euxo pipefail
if [ $run == true ] && [ $CI = false ]; then
cargo install cargo-llvm-cov --locked
fi

0 comments on commit 8bcdabf

Please sign in to comment.