bitcoin-s/.github/workflows/PostgresTests.yml

32 lines
788 B
YAML
Raw Normal View History

name: PostgreSQL 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')"
env:
PG_ENABLED: "1"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.ivy2/cache
~/.sbt
~/.bitcoin-s/binaries
key: ${{ runner.os }}-cache
- name: run tests
2021-02-24 07:03:52 -06:00
run: sbt ++2.13.5 downloadBitcoind dbCommonsTest/test walletTest/test chainTest/test nodeTest/test