mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
2102e4d682
* Try 'brew install sbt' as workaround to https://github.com/actions/setup-java/issues/627 * Try downgrading github ci runner for mac to get a intel mac build * Fix intel mac bitcoind download hashes * Revert macOS CI runner
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: Mac 2.13 bitcoind, eclair, and lnd rpc tests
|
|
env:
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: macos-latest
|
|
timeout-minutes: 60
|
|
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Scala
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '21'
|
|
cache: 'sbt'
|
|
- name: install sbt as workaround https://github.com/actions/setup-java/issues/627
|
|
run: brew install sbt
|
|
- name: Cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: |
|
|
~/.ivy2/cache
|
|
~/.sbt
|
|
~/.bitcoin-s/binaries
|
|
key: ${{ runner.os }}-rpc-tests-cache
|
|
- name: run tests
|
|
run: sbt coverage bitcoindRpcTest/test bitcoindRpc/coverageReport bitcoindRpc/coverageAggregate bitcoindRpc/coveralls eclairRpcTest/test eclairRpc/coverageReport eclairRpc/coverageAggregate eclairRpc/coveralls lndRpcTest/test esploraTest/test
|