2021-04-05 04:52:56 -05:00
|
|
|
name: Mac 2.13 bitcoind, eclair, and lnd rpc tests
|
2020-12-14 06:37:09 -06:00
|
|
|
env:
|
|
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: macos-latest
|
2021-04-18 09:02:49 -05:00
|
|
|
timeout-minutes: 60
|
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
|
2021-03-08 08:47:15 -06:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-12-14 06:37:09 -06:00
|
|
|
- name: Setup Scala
|
|
|
|
uses: olafurpg/setup-scala@v10
|
2021-01-22 08:47:19 -08:00
|
|
|
with:
|
2022-02-21 09:44:59 -06:00
|
|
|
java-version: openjdk@1.17.0
|
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
|
2022-01-28 15:48:44 -06:00
|
|
|
run: sbt ++2.13.8 coverage bitcoindRpcTest/test bitcoindRpc/coverageReport bitcoindRpc/coverageAggregate bitcoindRpc/coveralls eclairRpcTest/test eclairRpc/coverageReport eclairRpc/coverageAggregate eclairRpc/coveralls lndRpcTest/test esploraTest/test
|