mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-25 07:17:32 +01:00
* upgrade to scala 2.13.10 * Remove 2.13.8 from CI * Try upgrading to sbt 1.8.0-RC1 to see if build works on CI * Try to update scoverage to 2.0.6 * Upgrade sbt native packager to 1.9.11 * Upgrade to sbt 1.8.0
37 lines
971 B
YAML
37 lines
971 B
YAML
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"
|
|
PG_STARTUP_WAIT: "60"
|
|
TESTCONTAINERS_HOST_OVERRIDE: "localhost"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Scala
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '17'
|
|
cache: 'sbt'
|
|
- name: Cache
|
|
uses: actions/cache@v2
|
|
with:
|
|
path: |
|
|
~/.ivy2/cache
|
|
~/.sbt
|
|
~/.bitcoin-s/binaries
|
|
key: ${{ runner.os }}-cache
|
|
- name: run tests
|
|
run: sbt dbCommonsTest/test walletTest/test dlcWalletTest/test chainTest/test dlcOracleTest/test nodeTest/test
|