mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
713ee75d4c
* Get rid of standalone scalajs, mdoc CI matrix. Consolidate with other jobs for faster performance * Adjust CI matrix name * Address review, bump heap size
34 lines
1020 B
YAML
34 lines
1020 B
YAML
name: Linux 2.13 Node & Scalajs 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: 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 -J-Xmx2g ++2.13.8 coverage nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcNodeTest/test cryptoTestJS/test coreJS/test 'set scalaJSStage in Global := FullOptStage' cryptoTestJS/test coreJS/test asyncUtilsTestJS/test
|