mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-24 08:09:52 +08:00
ci: use rust stable for code coverage tests (large genesis)
This commit is contained in:
@@ -9,11 +9,10 @@ RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
|
||||
|
||||
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
|
||||
|
||||
RUN rustup override set nightly-2022-01-14 && \
|
||||
rustup component add llvm-tools-preview && \
|
||||
RUN rustup component add llvm-tools-preview && \
|
||||
cargo install grcov
|
||||
|
||||
ENV RUSTFLAGS="-Zinstrument-coverage" \
|
||||
ENV RUSTFLAGS="-Cinstrument-coverage" \
|
||||
LLVM_PROFILE_FILE="stacks-blockchain-%p-%m.profraw"
|
||||
|
||||
RUN cargo test --no-run --workspace && \
|
||||
|
||||
Reference in New Issue
Block a user