feat: add gh workflow for bitcoind integration tests

This commit is contained in:
Aaron Blankstein
2020-07-24 15:29:43 -05:00
parent dd83d1ab79
commit 451694434b
3 changed files with 33 additions and 0 deletions

View 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