mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-29 15:36:33 +08:00
feat: add gh workflow for bitcoind integration tests
This commit is contained in:
15
.github/actions/bitcoin-int-tests/Dockerfile.bitcoin-tests
vendored
Normal file
15
.github/actions/bitcoin-int-tests/Dockerfile.bitcoin-tests
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM rust:buster
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cargo test --no-run --workspace
|
||||
|
||||
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
|
||||
RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
|
||||
|
||||
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
|
||||
|
||||
ENV BITCOIND_TEST 1
|
||||
RUN cargo test --workspace -- --ignored
|
||||
Reference in New Issue
Block a user