Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 30 additions & 15 deletions .github/workflows/ci-expanded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down
45 changes: 30 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion builds/gnu/test_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading