2020-12-14 06:37:09 -06:00
|
|
|
name: Mac 2.13 bitcoind and eclair rpc tests
|
|
|
|
env:
|
|
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: macos-latest
|
2020-12-29 08:07:15 -06:00
|
|
|
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
|
2020-12-14 06:37:09 -06:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Scala
|
|
|
|
uses: olafurpg/setup-scala@v10
|
2021-01-22 08:47:19 -08:00
|
|
|
with:
|
|
|
|
java-version: adopt@1.11
|
2020-12-14 06:37:09 -06:00
|
|
|
- name: Cache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.ivy2/cache
|
|
|
|
~/.sbt
|
|
|
|
~/.bitcoin-s/binaries
|
|
|
|
key: ${{ runner.os }}-cache
|
|
|
|
- name: run tests
|
2021-03-03 16:52:03 -06:00
|
|
|
run: sbt ++2.13.5 downloadBitcoind downloadEclair coverage cryptoTestJVM/test coreTestJVM/test appCommonsTest/test bitcoindRpcTest/test bitcoindRpc/coverageReport bitcoindRpc/coverageAggregate bitcoindRpc/coveralls eclairRpcTest/test eclairRpc/coverageReport eclairRpc/coverageAggregate eclairRpc/coveralls
|