bitcoin-s/.github/workflows/Linux_2.12_Node_Tests.yml
Chris Stewart 52dcf51e82
Automatically download binaries if they are used in test suite (#4005)
* Remove download binary scripts from CI, try to make binary downloads contingent on tests being run in a project

* Cleanup docs to remove unecessary downloadBitcoind
2022-01-23 17:43:30 -06:00

32 lines
828 B
YAML

name: Linux 2.12 Node Tests
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
on:
pull_request:
jobs:
test:
runs-on: ubuntu-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: olafurpg/setup-scala@v10
with:
java-version: zulu@1.11
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.ivy2/cache
~/.sbt
~/.bitcoin-s/binaries
key: ${{ runner.os }}-cache
- name: run tests
run: sbt ++2.12.15 coverage nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcNodeTest/test