Skip to content

Commit

Permalink
CI test_features: allow warnings + fix permission denied
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Apr 10, 2024
1 parent 86510ac commit b913dc2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ""
- name: Test with electrum feature
run: |
cargo test --no-default-features --features electrum go_online::fail
Expand Down
6 changes: 0 additions & 6 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ services:
bitcoind:
image: registry.gitlab.com/hashbeam/docker/bitcoind:25.0
command: "-fallbackfee=0.0002"
volumes:
- ./tmp/bitcoin:/srv/app/.bitcoin
electrs:
image: registry.gitlab.com/hashbeam/docker/electrs:0.9.14
volumes:
- ./tmp/electrs:/srv/app/db
ports:
- 50001:50001
depends_on:
Expand Down Expand Up @@ -41,8 +37,6 @@ services:
NO_PRECACHE: 1
NO_ADDRESS_SEARCH: 1
NO_REGTEST_MINING: 1
volumes:
- ./tmp/esplora:/data
ports:
- 50004:50001
- 8094:80
Expand Down
4 changes: 0 additions & 4 deletions tests/start_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ $COMPOSE build $PROXY_MOD_PROTO
$COMPOSE build $PROXY_MOD_API

$COMPOSE down -v
# cleaning esplora data dir
if [ -d "$TEST_DIR/esplora" ]; then
$COMPOSE run --rm esplora bash -c "rm -rf /data/.bitcoin.conf /data/*"
fi
rm -rf $TEST_DIR
mkdir -p $TEST_DIR
# see docker-compose.yml for the exposed ports
Expand Down

0 comments on commit b913dc2

Please sign in to comment.