From 1e006056c09cd0ea0668f31d2b73997f08e836d6 Mon Sep 17 00:00:00 2001 From: Eric Voskuil Date: Wed, 9 Sep 2026 00:10:48 -0400 Subject: [PATCH] Regenerate artifacts. --- .github/workflows/ci-expanded.yml | 45 ++++++++++++++++++++----------- .github/workflows/ci.yml | 45 ++++++++++++++++++++----------- builds/gnu/test_runner.sh | 2 +- 3 files changed, 61 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci-expanded.yml b/.github/workflows/ci-expanded.yml index 33d9e5866..18257090a 100644 --- a/.github/workflows/ci-expanded.yml +++ b/.github/workflows/ci-expanded.yml @@ -474,11 +474,16 @@ jobs: - name: Coveralls.io upload if: ${{ matrix.coverage == 'lcov' }} - uses: coverallsapp/github-action@v2.3.6 - with: - format: lcov - files: "libbitcoin-database/coverage.info" - github-token: ${{ secrets.github_token }} + shell: bash + working-directory: 'libbitcoin-database' + env: + COVERALLS_REPO_TOKEN: ${{ secrets.github_token }} + run: | + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-linux-x86_64.tar.gz + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-checksums.txt + grep -F coveralls-linux-x86_64.tar.gz coveralls-checksums.txt | sha256sum -c + tar -xzf coveralls-linux-x86_64.tar.gz + ./coveralls report --format lcov coverage.info - name: Test artifact collection if: failure() @@ -976,11 +981,16 @@ jobs: - name: Coveralls.io upload if: ${{ matrix.coverage == 'lcov' }} - uses: coverallsapp/github-action@v2.3.6 - with: - format: lcov - files: "libbitcoin-database/coverage.info" - github-token: ${{ secrets.github_token }} + shell: bash + working-directory: 'libbitcoin-database' + env: + COVERALLS_REPO_TOKEN: ${{ secrets.github_token }} + run: | + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-linux-x86_64.tar.gz + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-checksums.txt + grep -F coveralls-linux-x86_64.tar.gz coveralls-checksums.txt | sha256sum -c + tar -xzf coveralls-linux-x86_64.tar.gz + ./coveralls report --format lcov coverage.info - name: Test artifact collection if: failure() @@ -1401,11 +1411,16 @@ jobs: - name: Coveralls.io upload if: ${{ matrix.coverage == 'lcov' }} - uses: coverallsapp/github-action@v2.3.6 - with: - format: lcov - files: "libbitcoin-database/coverage.info" - github-token: ${{ secrets.github_token }} + shell: bash + working-directory: 'libbitcoin-database' + env: + COVERALLS_REPO_TOKEN: ${{ secrets.github_token }} + run: | + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-linux-x86_64.tar.gz + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-checksums.txt + grep -F coveralls-linux-x86_64.tar.gz coveralls-checksums.txt | sha256sum -c + tar -xzf coveralls-linux-x86_64.tar.gz + ./coveralls report --format lcov coverage.info - name: Test artifact collection if: failure() diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e188d8de..04c151477 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,11 +167,16 @@ jobs: - name: Coveralls.io upload if: ${{ matrix.coverage == 'lcov' }} - uses: coverallsapp/github-action@v2.3.6 - with: - format: lcov - files: "libbitcoin-database/coverage.info" - github-token: ${{ secrets.github_token }} + shell: bash + working-directory: 'libbitcoin-database' + env: + COVERALLS_REPO_TOKEN: ${{ secrets.github_token }} + run: | + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-linux-x86_64.tar.gz + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-checksums.txt + grep -F coveralls-linux-x86_64.tar.gz coveralls-checksums.txt | sha256sum -c + tar -xzf coveralls-linux-x86_64.tar.gz + ./coveralls report --format lcov coverage.info - name: Test artifact collection if: failure() @@ -362,11 +367,16 @@ jobs: - name: Coveralls.io upload if: ${{ matrix.coverage == 'lcov' }} - uses: coverallsapp/github-action@v2.3.6 - with: - format: lcov - files: "libbitcoin-database/coverage.info" - github-token: ${{ secrets.github_token }} + shell: bash + working-directory: 'libbitcoin-database' + env: + COVERALLS_REPO_TOKEN: ${{ secrets.github_token }} + run: | + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-linux-x86_64.tar.gz + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-checksums.txt + grep -F coveralls-linux-x86_64.tar.gz coveralls-checksums.txt | sha256sum -c + tar -xzf coveralls-linux-x86_64.tar.gz + ./coveralls report --format lcov coverage.info - name: Test artifact collection if: failure() @@ -515,11 +525,16 @@ jobs: - name: Coveralls.io upload if: ${{ matrix.coverage == 'lcov' }} - uses: coverallsapp/github-action@v2.3.6 - with: - format: lcov - files: "libbitcoin-database/coverage.info" - github-token: ${{ secrets.github_token }} + shell: bash + working-directory: 'libbitcoin-database' + env: + COVERALLS_REPO_TOKEN: ${{ secrets.github_token }} + run: | + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-linux-x86_64.tar.gz + curl -sLO https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-checksums.txt + grep -F coveralls-linux-x86_64.tar.gz coveralls-checksums.txt | sha256sum -c + tar -xzf coveralls-linux-x86_64.tar.gz + ./coveralls report --format lcov coverage.info - name: Test artifact collection if: failure() diff --git a/builds/gnu/test_runner.sh b/builds/gnu/test_runner.sh index a36f92fad..17498765b 100755 --- a/builds/gnu/test_runner.sh +++ b/builds/gnu/test_runner.sh @@ -12,7 +12,7 @@ BOOST_UNIT_TEST_OPTIONS="--log_level=warning --show_progress=no --detect_memory_ # Run tests. #============================================================================== -if [[ ${CI} == true ]]; then +if [ "${CI}" = true ]; then ./test/libbitcoin-database-test ${BOOST_UNIT_TEST_OPTIONS} else ./test/libbitcoin-database-test ${BOOST_UNIT_TEST_OPTIONS} > test.log