2020-12-21 16:34:53 -06:00
|
|
|
name: Windows Tests
|
|
|
|
env:
|
|
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: windows-latest
|
2021-04-18 09:02:49 -05:00
|
|
|
timeout-minutes: 60
|
2022-08-06 05:30:26 -07:00
|
|
|
env:
|
|
|
|
TESTCONTAINERS_HOST_OVERRIDE: "localhost"
|
2020-12-29 08:07:15 -06:00
|
|
|
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
|
2020-12-21 16:34:53 -06:00
|
|
|
steps:
|
|
|
|
- name: Configure git
|
|
|
|
run: "git config --global core.autocrlf false"
|
|
|
|
shell: bash
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
2021-03-08 08:47:15 -06:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-12-21 16:34:53 -06:00
|
|
|
- name: Setup Scala
|
2022-07-08 13:43:17 -05:00
|
|
|
uses: actions/setup-java@v3
|
2021-04-28 16:21:09 -05:00
|
|
|
with:
|
2022-07-08 13:43:17 -05:00
|
|
|
distribution: 'adopt'
|
2022-07-28 12:25:43 -05:00
|
|
|
java-version: '17'
|
2022-07-08 13:43:17 -05:00
|
|
|
cache: 'sbt'
|
2020-12-21 16:34:53 -06:00
|
|
|
- name: Cache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.ivy2/cache
|
|
|
|
~/.sbt
|
|
|
|
~/.bitcoin-s/binaries
|
|
|
|
key: ${{ runner.os }}-cache
|
|
|
|
- name: Windows Crypto, Core, and Database tests
|
2022-08-06 05:30:26 -07:00
|
|
|
run: sbt ++2.13.8 cryptoTestJVM/test coreTestJVM/test secp256k1jni/test dlcTest/test appCommonsTest/test asyncUtilsTestJVM/test asyncUtilsTestJS/test appServerTest/test
|
2020-12-21 16:34:53 -06:00
|
|
|
shell: bash
|