Skip to content

Commit 444e71f

Browse files
authored
Merge pull request #2295 from blockstack/next
Merge `next` into `master`
2 parents 00284ee + 7b085c5 commit 444e71f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+57245
-70061
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM rust:buster
2+
3+
WORKDIR /src
4+
5+
COPY . .
6+
7+
RUN cargo test --no-run --workspace
8+
9+
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
10+
RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
11+
12+
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
13+
14+
ENV BITCOIND_TEST 1
15+
WORKDIR /src/testnet/stacks-node
16+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::atlas_integration_test

.github/actions/bitcoin-int-tests/Dockerfile.bitcoin-tests

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,14 @@ RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
1212
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
1313

1414
ENV BITCOIND_TEST 1
15-
RUN cd testnet/stacks-node && cargo test -- --test-threads 1 --ignored
15+
WORKDIR /src/testnet/stacks-node
16+
RUN cargo test -- --test-threads 1 --ignored tests::integrations::integration_test_get_info
17+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::bitcoind_integration_test
18+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::size_check_integration_test
19+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::liquid_ustx_integration
20+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::stx_transfer_btc_integration_test
21+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::bitcoind_forking_test
22+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::microblock_integration_test
23+
RUN cargo test -- --test-threads 1 --ignored tests::neon_integrations::pox_integration_test
24+
RUN cargo test -- --test-threads 1 --ignored tests::bitcoin_regtest::bitcoind_integration_test
25+
RUN cargo test -- --test-threads 1 --ignored tests::should_succeed_handling_malformed_and_valid_txs
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: stacks-bitcoin-integration-tests
2+
3+
# Only run on PRs
4+
on:
5+
pull_request:
6+
7+
jobs:
8+
# Run sampled genesis tests
9+
sampled-genesis:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: All integration tests with sampled genesis
14+
env:
15+
DOCKER_BUILDKIT: 1
16+
run: docker build -f ./.github/actions/bitcoin-int-tests/Dockerfile.bitcoin-tests .
17+
atlas-test:
18+
# disable this job/test for now, since we haven't seen this pass
19+
# on github actions in a while
20+
if: ${{ false }}
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: All integration tests with sampled genesis
25+
env:
26+
DOCKER_BUILDKIT: 1
27+
run: docker build -f ./.github/actions/bitcoin-int-tests/Dockerfile.atlas-test .

.github/workflows/stacks-blockchain.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,6 @@ jobs:
4141
DOCKER_BUILDKIT: 1
4242
run: docker build -f ./.github/actions/bitcoin-int-tests/Dockerfile.large-genesis .
4343

44-
# Run sampled genesis tests
45-
sampled-genesis:
46-
runs-on: ubuntu-latest
47-
steps:
48-
- uses: actions/checkout@v2
49-
- name: All integration tests with sampled genesis
50-
env:
51-
DOCKER_BUILDKIT: 1
52-
run: docker build -f ./.github/actions/bitcoin-int-tests/Dockerfile.bitcoin-tests .
53-
5444
# Run net-tests
5545
nettest:
5646
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)