2021-08-23 20:06:14 +02:00
|
|
|
name: Linux 2.13 bitcoind, eclair, and lnd rpc tests
|
2020-12-14 13:37:09 +01:00
|
|
|
env:
|
|
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
2021-04-18 16:02:49 +02:00
|
|
|
timeout-minutes: 60
|
2020-12-29 15:07:15 +01:00
|
|
|
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
|
2020-12-14 13:37:09 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
2021-03-08 15:47:15 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-12-14 13:37:09 +01:00
|
|
|
- name: Setup Scala
|
2022-07-08 20:43:17 +02:00
|
|
|
uses: actions/setup-java@v3
|
2021-01-22 17:47:19 +01:00
|
|
|
with:
|
2022-07-08 20:43:17 +02:00
|
|
|
distribution: 'adopt'
|
2024-04-05 00:09:45 +02:00
|
|
|
java-version: '21'
|
2022-07-08 20:43:17 +02:00
|
|
|
cache: 'sbt'
|
2020-12-14 13:37:09 +01:00
|
|
|
- name: Cache
|
2023-12-16 19:24:25 +01:00
|
|
|
uses: actions/cache@v3
|
2020-12-14 13:37:09 +01:00
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.ivy2/cache
|
|
|
|
~/.sbt
|
|
|
|
~/.bitcoin-s/binaries
|
2023-12-16 19:24:25 +01:00
|
|
|
key: ${{ runner.os }}-rpc-tests-cache
|
2020-12-14 13:37:09 +01:00
|
|
|
- name: run tests
|
2022-11-16 19:05:59 +01:00
|
|
|
run: sbt coverage bitcoindRpcTest/test bitcoindRpc/coverageReport bitcoindRpc/coverageAggregate bitcoindRpc/coveralls eclairRpcTest/test eclairRpc/coverageReport eclairRpc/coverageAggregate eclairRpc/coveralls lndRpcTest/test clightningRpcTest/test esploraTest/test
|