-
Notifications
You must be signed in to change notification settings - Fork 678
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/appchain-network-improvements
- Loading branch information
Showing
129 changed files
with
15,481 additions
and
1,530 deletions.
There are no files selected for viewing
42 changes: 9 additions & 33 deletions
42
.github/actions/bitcoin-int-tests/Dockerfile.bitcoin-tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,12 @@ | ||
FROM rust:bullseye | ||
|
||
WORKDIR /src/ | ||
|
||
COPY . . | ||
|
||
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 | ||
|
||
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/ | ||
FROM stacks-node:integrations | ||
|
||
ARG test_name | ||
ENV BITCOIND_TEST 1 | ||
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 | ||
RUN cargo test -- --test-threads 1 --ignored tests::integrations::integration_test_get_info | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::bitcoind_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::liquid_ustx_integration | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::stx_transfer_btc_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::bitcoind_forking_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::should_fix_2771 | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::pox_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::bitcoin_regtest::bitcoind_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::should_succeed_handling_malformed_and_valid_txs | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::size_overflow_unconfirmed_microblocks_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::size_overflow_unconfirmed_stream_microblocks_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::size_overflow_unconfirmed_invalid_stream_microblocks_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::runtime_overflow_unconfirmed_microblocks_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::antientropy_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::filter_low_fee_tx_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::filter_long_runtime_tx_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::mining_transactions_is_fair | ||
|
||
RUN cargo build && \ | ||
cargo test -- --test-threads 1 --ignored "$test_name" | ||
|
||
RUN grcov . --binary-path ../../target/debug/ -s ../.. -t lcov --branch --ignore-not-existing --ignore "/*" -o lcov.info && \ | ||
curl -Os https://uploader.codecov.io/latest/linux/codecov && \ | ||
chmod +x codecov && \ | ||
./codecov --name "$test_name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 12 additions & 5 deletions
17
...s/bitcoin-int-tests/Dockerfile.atlas-test → ...nt-tests/Dockerfile.generic.bitcoin-tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
FROM rust:bullseye | ||
|
||
WORKDIR /src | ||
WORKDIR /src/ | ||
|
||
COPY . . | ||
|
||
RUN cargo test --no-run --workspace | ||
WORKDIR /src/testnet/stacks-node | ||
|
||
RUN rustup override set nightly && \ | ||
rustup component add llvm-tools-preview && \ | ||
cargo install grcov | ||
|
||
ENV RUSTFLAGS="-Zinstrument-coverage" \ | ||
LLVM_PROFILE_FILE="stacks-blockchain-%p-%m.profraw" | ||
|
||
RUN cargo test --no-run && \ | ||
cargo build | ||
|
||
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 | ||
WORKDIR /src/testnet/stacks-node | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::atlas_integration_test | ||
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::atlas_stress_integration_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.