bitcoin-s/.github/workflows/Windows.yml
2024-10-21 12:45:19 -05:00

39 lines
1.1 KiB
YAML

name: Windows Tests
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
on:
pull_request:
jobs:
test:
runs-on: windows-latest
timeout-minutes: 60
env:
TESTCONTAINERS_HOST_OVERRIDE: "localhost"
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Configure git
run: "git config --global core.autocrlf false"
shell: bash
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Scala
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21.0.4'
cache: 'sbt'
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
~/.bitcoin-s/binaries
key: ${{ runner.os }}-cache
- name: Windows Crypto, Core, and Database tests
run: sbt cryptoTestJVM/test coreTestJVM/test secp256k1jni/test zmq/test appCommonsTest/test asyncUtilsTestJVM/test asyncUtilsTestJS/test appServerTest/test
shell: bash