diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index f5d401e3..f2ff1068 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install lcov tools run: sudo apt-get install lcov -y - name: Install rustup @@ -38,24 +38,17 @@ jobs: - name: Install grcov run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi - name: Test - # WARNING: this is not testing the following features: test-esplora, test-hardware-signer, async-interface - # This is because some of our features are mutually exclusive, and generating various reports and - # merging them doesn't seem to be working very well. - # For more info, see: - # - https://github.com/bitcoindevkit/bdk/issues/696 - # - https://github.com/bitcoindevkit/bdk/pull/748#issuecomment-1242721040 run: cargo test -- --test-threads=1 - name: Run grcov run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info - name: Generate HTML coverage report run: genhtml -o coverage-report.html ./coverage/lcov.info - - name: Coveralls upload uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-report path: coverage-report.html diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 729922e7..d7e4a92b 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -59,6 +59,7 @@ jobs: cargo update -p home --precise 0.5.5 cargo update -p url --precise "2.5.0" cargo update -p tokio --precise "1.38.1" + cargo update -p tokio-util --precise "0.7.11" - name: Build run: cargo build --features ${{ matrix.features }} --no-default-features - name: Test diff --git a/README.md b/README.md index 0a116e9f..d1f73977 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,5 @@ cargo update -p time --precise "0.3.20" cargo update -p home --precise 0.5.5 cargo update -p url --precise "2.5.0" cargo update -p tokio --precise "1.38.1" +cargo update -p tokio-util --precise "0.7.11" ``` \ No newline at end of file