speed up github action

This commit is contained in:
Aaron Blankstein
2021-01-23 09:38:21 -06:00
parent 55a21ab21e
commit a7d3f136af

View File

@@ -1,10 +1,11 @@
FROM rust:buster
WORKDIR /src
WORKDIR /src/
COPY . .
RUN cargo test --no-run --workspace
WORKDIR /src/testnet/stacks-node
RUN cargo test --no-run
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
@@ -12,7 +13,6 @@ 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
WORKDIR /src/testnet/stacks-node
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::microblock_integration_test
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::size_check_integration_test
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::cost_voting_integration